2017 © Pedro Peláez
 

library mpdf

image

umertasov/mpdf

  • Wednesday, March 7, 2018
  • by umertasov
  • Repository
  • 2 Watchers
  • 0 Stars
  • 65 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 445 Forks
  • 1 Open issues
  • 51 Versions
  • 0 % Grown

The README.md

mPDF is a PHP class which generates PDF files from UTF-8 encoded HTML. It is based on FPDF and HTML2FPDF (see CREDITS), with a number of enhancements. mPDF was written by Ian Back and is released under the GNU GPL v2 licence., (*1)

Build Status, (*2)

Installation

Preferred installation method is via composer and its packagist package mpdf/mpdf., (*3)

Manual installation

  • Download the .zip release file 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:, (*4)

    /ttfontdata/ - used to cache font data; improves performance a lot, (*5)

    /tmp/ - used for some images and ProgressBar, (*6)

    /graph_cache/ - if you are using JpGraph in conjunction with mPDF, (*7)

To test the installation, point your browser to the basic example file:, (*8)

[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 in the section on Installation & Setup in the manual., (*9)

If you have problems, please read the section on troubleshooting in the manual., (*10)

Online manual

Online manual is available at https://mpdf.github.io/., (*11)

Unit Testing

Unit testing for mPDF is done using PHPUnit., (*12)

To get started, run composer install from the command line while in the mPDF root directory (you'll need composer installed first)., (*13)

To execute tests, run vendor/bin/phpunit from the command line while in the mPDF root directory., (*14)

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., (*15)

The Versions

07/03 2018

v5.5.0

5.5.0.0

  Sources   Download

07/03 2018

v5.3.0

5.3.0.0

  Sources   Download

07/03 2018

v5.4.0

5.4.0.0

  Sources   Download

01/03 2018

dev-my_branch

dev-my_branch http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

01/03 2018

v7.0.19

7.0.19.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

01/03 2018

v7.0.18

7.0.18.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

24/07 2017

v7.0.17

7.0.17.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

24/07 2017

v6.0.13

6.0.13.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

24/07 2017

v7.0.15

7.0.15.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

24/07 2017

v7.0.14

7.0.14.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

09/06 2017

7.0.x-dev

7.0.9999999.9999999-dev http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

09/06 2017

v7.0.13

7.0.13.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

26/05 2017

v7.0.12

7.0.12.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

10/05 2017

v7.0.11

7.0.11.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

10/05 2017

v7.0.10

7.0.10.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

16/02 2017

v7.0.9

7.0.9.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

16/02 2017

v7.0.8

7.0.8.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

18/01 2017

v7.0.7

7.0.7.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

18/11 2016

v7.0.6

7.0.6.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

14/10 2016

v7.0.5

7.0.5.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

13/10 2016

v7.0.4

7.0.4.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

13/10 2016

v7.0.2

7.0.2.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

13/10 2016

v7.0.1

7.0.1.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

13/10 2016

dev-master

9999999-dev http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

13/10 2016

v6.1.3

6.1.3.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

13/10 2016

dev-development

dev-development http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

13/10 2016

v7.0.3

7.0.3.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

13/10 2016

v6.0.12

6.0.12.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

13/10 2016

v7.0.16

7.0.16.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

13/09 2016

dev-test

dev-test http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

13/09 2016

dev-lint

dev-lint http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

26/08 2016

dev-travis

dev-travis http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

20/07 2016

v6.1.2

6.1.2.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

08/07 2016

dev-barcode-numbers

dev-barcode-numbers http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

08/07 2016

dev-refactor

dev-refactor http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

08/07 2016

dev-barcode-numbers-pr

dev-barcode-numbers-pr http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

23/06 2016

dev-constructor

dev-constructor http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

10/05 2016

6.1.x-dev

6.1.9999999.9999999-dev http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

28/04 2016

v6.1.1

6.1.1.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

26/04 2016

v6.1.0

6.1.0.0 http://mpdf.github.io

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Ian Back

php utf-8 pdf

01/03 2015

v6.0.0

6.0.0.0 http://www.mpdf1.com/mpdf/index.php

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-1.0+

The Requires

  • php >=4.3.10
  • ext-mbstring *

 

by Ian Back

php utf-8 pdf

17/12 2014

v5.7.4a

5.7.4.0-alpha http://www.mpdf1.com/mpdf/index.php

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-1.0+

The Requires

  • php >=4.3.10
  • ext-mbstring *

 

by Ian Back

php utf-8 pdf

14/12 2014

v5.7.4

5.7.4.0 http://www.mpdf1.com/mpdf/index.php

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-1.0+

The Requires

  • php >=4.3.10
  • ext-mbstring *

 

by Ian Back

php utf-8 pdf

22/09 2014

v5.7.3a

5.7.3.0-alpha http://www.mpdf1.com/mpdf/index.php

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-1.0+

The Requires

  • php >=4.3.10
  • ext-mbstring *

 

by Ian Back

php utf-8 pdf

24/08 2014

v5.7.3

5.7.3.0 http://www.mpdf1.com/mpdf/index.php

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-1.0+

The Requires

  • php >=4.3.10
  • ext-mbstring *

 

by Ian Back

php utf-8 pdf

16/05 2014

v5.7.2

5.7.2.0 http://www.mpdf1.com/mpdf/index.php

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-1.0+

The Requires

  • php >=4.3.10
  • ext-mbstring *

 

by Ian Back

php utf-8 pdf

07/01 2014

v6.0-beta

6.0.0.0-beta http://www.mpdf1.com/mpdf/index.php

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-1.0+

The Requires

  • php >=4.3.10
  • ext-mbstring *

 

by Ian Back

php utf-8 pdf

02/09 2013

v5.7.1

5.7.1.0 http://www.mpdf1.com/mpdf/index.php

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-1.0+

The Requires

  • php >=4.3.10

 

by Ian Back

php utf-8 pdf

18/07 2013

v5.7.0

5.7.0.0 http://www.mpdf1.com/mpdf/index.php

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-1.0+

The Requires

  • php >=4.3.10

 

by Ian Back

php utf-8 pdf

26/01 2013

v5.6.1

5.6.1.0 http://www.mpdf1.com/mpdf/index.php

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-1.0+

The Requires

  • php >=4.3.10

 

by Ian Back

php utf-8 pdf

20/11 2012

v5.5.1

5.5.1.0 http://www.mpdf1.com/mpdf/index.php

A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

  Sources   Download

GPL-1.0+

The Requires

  • php >=4.3.10

 

by Ian Back

php utf-8 pdf