mPDF is a PHP class which generates PDF files from UTF-8 encoded HTML. It is based on [FPDF](http://www.fpdf.org/)
and [HTML2FPDF](http://html2fpdf.sourceforge.net/) (see [CREDITS](CREDITS.txt)), with a number of enhancements.
mPDF was written by Ian Back and is released under the [GNU GPL v2 licence](LICENSE.txt).
[![Build Status](https://travis-ci.org/mpdf/mpdf.svg?branch=development)](https://travis-ci.org/mpdf/mpdf)
Installation
============
Preferred installation method is via composer and its packagist package [mpdf/mpdf](https://packagist.org/packages/mpdf/mpdf).
Manual installation
-------------------
* Download the [.zip release file](https://github.com/mpdf/mpdf/releases) and unzip it
* Create a folder e.g. /mpdf on your server
* Upload all of the files to the server, maintaining the folders as they are
* Ensure that you have write permissions set (CHMOD 6xx or 7xx) for the following folders:
/ttfontdata/ - used to cache font data; improves performance a lot
/tmp/ - used for some images and ProgressBar
/graph_cache/ - if you are using [JpGraph](http://jpgraph.net) in conjunction with mPDF
To test the installation, point your browser to the basic example file:
[path_to_mpdf_folder]/mpdf/examples/example01_basic.php
If you wish to define a different folder for temporary files rather than /tmp/ see the note on
[Folder for temporary files](https://mpdf.github.io/installation-setup/folders-for-temporary-files.html)
in the section on Installation & Setup in the [manual](https://mpdf.github.io/).
If you have problems, please read the section on [troubleshooting](https://mpdf.github.io/troubleshooting/known-issues.html) in the manual.
Online manual
=============
Online manual is available at https://mpdf.github.io/.
Unit Testing
============
Unit testing for mPDF is done using [PHPUnit](https://phpunit.de/).
To get started, run `composer install` from the command line while in the mPDF root directory
(you'll need [composer installed first](https://getcomposer.org/download/)).
To execute tests, run `vendor/bin/phpunit` from the command line while in the mPDF root directory.
Any assistance writing unit tests for mPDF is greatly appreciated. If you'd like to help, please
note that any PHP file located in the `/tests/` directory will be autoloaded when unit testing.
没有合适的资源?快使用搜索试试~ 我知道了~
thinkphp使用mpdf导出html为pdf文件
共702个文件
dat:297个
php:278个
ttf:81个
需积分: 38 34 下载量 25 浏览量
2020-03-17
14:03:29
上传
评论
收藏 41.94MB RAR 举报
温馨提示
thinkphp使用mpdf将html导出为pdf文件。里面包含了mpdf资源包。包版本为6.1.3。适合php5.6.27使用,新版本的mpdf需要php7的支持。
资源推荐
资源详情
资源评论
收起资源包目录
thinkphp使用mpdf导出html为pdf文件 (702个子文件)
lang2fonts.css 9KB
mpdf.css 2KB
progbar.css 1KB
linebrdictK.dat 1MB
linebrdictT.dat 295KB
dejavusanscondensedB.gid.dat 192KB
dejavusanscondensed.gid.dat 192KB
dejavusanscondensedI.gid.dat 192KB
dejavusanscondensedBI.gid.dat 192KB
dejavusansmono.gid.dat 192KB
dejavuserifcondensedB.cw.dat 128KB
sun-exta.cw.dat 128KB
dejavusanscondensedI.cw.dat 128KB
dejavusanscondensedBI.cw.dat 128KB
dejavusanscondensedB.cw.dat 128KB
dejavuserifcondensed.cw.dat 128KB
dejavuserifcondensedI.cw.dat 128KB
dejavusanscondensed.cw.dat 128KB
dejavusansmono.cw.dat 128KB
linebrdictL.dat 124KB
qrv40_2.dat 87KB
qrv40_3.dat 87KB
qrv40_0.dat 87KB
qrv40_1.dat 87KB
qrv39_2.dat 83KB
qrv39_3.dat 83KB
qrv39_0.dat 83KB
qrv39_1.dat 83KB
qrv38_2.dat 79KB
qrv38_3.dat 79KB
qrv38_0.dat 79KB
qrv38_1.dat 79KB
qrv37_2.dat 75KB
qrv37_3.dat 75KB
qrv37_0.dat 75KB
qrv37_1.dat 75KB
qrv36_2.dat 71KB
qrv36_3.dat 71KB
qrv36_0.dat 71KB
qrv36_1.dat 71KB
qrv35_2.dat 67KB
qrv35_3.dat 67KB
qrv35_0.dat 67KB
qrv35_1.dat 67KB
qrv34_2.dat 65KB
qrv34_3.dat 65KB
qrv34_0.dat 65KB
qrv34_1.dat 65KB
qrv33_2.dat 61KB
qrv33_3.dat 61KB
qrv33_0.dat 61KB
qrv33_1.dat 61KB
qrv32_2.dat 58KB
qrv32_3.dat 58KB
qrv32_0.dat 58KB
qrv32_1.dat 58KB
qrv31_2.dat 55KB
qrv31_3.dat 55KB
qrv31_0.dat 55KB
qrv31_1.dat 55KB
qrv30_2.dat 51KB
qrv30_3.dat 51KB
qrv30_0.dat 51KB
qrv30_1.dat 51KB
qrv29_2.dat 48KB
qrv29_3.dat 48KB
qrv29_0.dat 48KB
qrv29_1.dat 48KB
qrv28_2.dat 45KB
qrv28_3.dat 45KB
qrv28_0.dat 45KB
qrv28_1.dat 45KB
dejavusanscondensed.GSUBGPOStables.dat 43KB
qrv27_2.dat 43KB
qrv27_3.dat 43KB
qrv27_0.dat 43KB
qrv27_1.dat 43KB
qrv26_2.dat 40KB
qrv26_3.dat 40KB
qrv26_0.dat 40KB
qrv26_1.dat 40KB
dejavusanscondensedB.GSUBGPOStables.dat 38KB
qrv25_2.dat 37KB
qrv25_3.dat 37KB
qrv25_0.dat 37KB
qrv25_1.dat 37KB
qrv24_2.dat 35KB
qrv24_3.dat 35KB
qrv24_0.dat 35KB
qrv24_1.dat 35KB
modele40.dat 33KB
qrv23_2.dat 32KB
qrv23_3.dat 32KB
qrv23_0.dat 32KB
qrv23_1.dat 32KB
modele39.dat 32KB
qrvfr40.dat 31KB
modele38.dat 31KB
qrv22_2.dat 30KB
qrv22_3.dat 30KB
共 702 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
资源评论
卖茶叶蛋的奥特曼
- 粉丝: 2
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功