PHP Classes

File: README.md

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

Contents

Class file image Download

FreePDF (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.