html2pdf php,GitHub - spipu/html2pdf: OFFICIAL PROJECT | HTML to PDF converter written in PHP

Html2Pdf是一个用PHP编写的HTML到PDF转换器,适用于PHP5.6到7.4。它允许将有效的HTML转换为PDF格式,适合创建发票、文档等。你需要为Html2Pdf编写HTML代码,而不是直接转换已存在的HTML页面。该库需要Composer进行安装,并依赖于TCPDF。捐赠、问题报告和许可证信息也在文档中提供。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Html2Pdf

Html2Pdf is a HTML to PDF converter written in PHP, and compatible with PHP 5.6 to 7.4.

It allows the conversion of valid HTML in PDF format, to generate documents like invoices, documentation, ...

You have to write a code of HTML for Html2Pdf, and not try to convert directly an already existing html page.

Specific tags have been implemented, to adapt the html standard to a PDF usage.

You must use Composer to install this library.

It uses TCPDF for the PDF part.

Requirements

Html2Pdf works with PHP >5.6 and Composer.

You will also need at least the following php extensions:

gd

mbstring

Documentation

You will find the install documentation here.

You will find all the documentation here.

You will find lots of examples here.

Donate

You can support this project by making a donation.

Change log

Help & Support

For questions and bug reports, please use the GitHub issues page.

License

This program is distributed under the OSL License. For more information see the ./LICENSE.md file.

Copyright 2008-2018 by Laurent Minguet

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值