PHP Classes


Recommend this page to a friend!
  Classes of John Conde   PHP Free PDF Library   Download  
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Free PDF Library
Generate PDF documents programatically
Author: By
Last change:
Date: 1 year ago
Size: 821 bytes


Class file image Download

FreePDF (freepdf)

FreePDF is a fork of FPDF by Olivier Plathey and is available at It has been refactored to take advantage of features available in PHP 7.4 and later as well as PSR-12 compliant. It also makes the PDF functionality available via Composer and other can contribute via forking and pull requests.

Future plans include creating a PDFlib API compatible replacement.


  • PHP 7.4+
  • mbstring.func_overload must be disabled


You can include the FreePDF.php file directly by requiring the FreePDF.php file into your code:


$pdf = new \FreePDF\FreePDF();


The fpdf website has tutorials and documentation for using this library as the API has not changed.