DownloadFreePDF (freepdf)
FreePDF is a fork of FPDF by Olivier Plathey and is available at fpdf.org. 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.
Requirements
-
PHP 7.4+
-
mbstring.func_overload must be disabled
Installation
You can include the FreePDF.php file directly by requiring the FreePDF.php file into your code:
require('/path/to/src/FreePDF/FreePDF.php');
$pdf = new \FreePDF\FreePDF();
Usage
The fpdf website has tutorials and documentation for using this library as the API has not changed.
|