PHP Free PDF Library: Generate PDF documents programatically

Recommend this page to a friend!
  Info   View files Documentation   View files View files (43)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2021-03-02 (2 days ago) RSS 2.0 feedNot enough user ratingsTotal: 159 This week: 29All time: 8,796 This week: 8Up
Version License PHP version Categories
freepdf 1.0.2Freeware7PHP 5, Printing
Description Author

This package can be used to generate PDF documents programatically.

It is based on the FreePDF package originally written by Olivier Plathey.

This version of the package is compliant with the coding style defined by the PSR-12 and takes advantage of the PHP 7.4 features.

Picture of John Conde
  Performance   Level  
Name: John Conde <contact>
Classes: 6 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 1x

Details

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.

  Files folder image Files  
File Role Description
Files folder image.idea (1 file)
Files folder imagesrc (1 directory)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file CHANGELOG Data Auxiliary data
Accessible without login Plain text file CONTRIBUTING.md Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file SECURITY.md Data Auxiliary data

  Files folder image Files  /  .idea  
File Role Description
  Accessible without login Plain text file php.xml Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
Files folder imageFreePDF (2 files, 2 directories)

  Files folder image Files  /  src  /  FreePDF  
File Role Description
Files folder imagefont (14 files)
Files folder imagemakefont (21 files)
  Plain text file FreePDF.php Class Class source
  Plain text file TTFParser.php Class Class source

  Files folder image Files  /  src  /  FreePDF  /  font  
File Role Description
  Accessible without login Plain text file courier.php Aux. Auxiliary script
  Accessible without login Plain text file courierb.php Aux. Auxiliary script
  Accessible without login Plain text file courierbi.php Aux. Auxiliary script
  Accessible without login Plain text file courieri.php Aux. Auxiliary script
  Accessible without login Plain text file helvetica.php Aux. Auxiliary script
  Accessible without login Plain text file helveticab.php Aux. Auxiliary script
  Accessible without login Plain text file helveticabi.php Aux. Auxiliary script
  Accessible without login Plain text file helveticai.php Aux. Auxiliary script
  Accessible without login Plain text file symbol.php Aux. Auxiliary script
  Accessible without login Plain text file times.php Aux. Auxiliary script
  Accessible without login Plain text file timesb.php Aux. Auxiliary script
  Accessible without login Plain text file timesbi.php Aux. Auxiliary script
  Accessible without login Plain text file timesi.php Aux. Auxiliary script
  Accessible without login Plain text file zapfdingbats.php Aux. Auxiliary script

  Files folder image Files  /  src  /  FreePDF  /  makefont  
File Role Description
  Accessible without login Plain text file cp1250.map Data Auxiliary data
  Accessible without login Plain text file cp1251.map Data Auxiliary data
  Accessible without login Plain text file cp1252.map Data Auxiliary data
  Accessible without login Plain text file cp1253.map Data Auxiliary data
  Accessible without login Plain text file cp1254.map Data Auxiliary data
  Accessible without login Plain text file cp1255.map Data Auxiliary data
  Accessible without login Plain text file cp1257.map Data Auxiliary data
  Accessible without login Plain text file cp1258.map Data Auxiliary data
  Accessible without login Plain text file cp874.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-1.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-11.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-15.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-16.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-2.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-4.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-5.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-7.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-9.map Data Auxiliary data
  Accessible without login Plain text file koi8-r.map Data Auxiliary data
  Accessible without login Plain text file koi8-u.map Data Auxiliary data
  Accessible without login Plain text file makefont.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:159
This week:29
All time:8,796
This week:8Up

For more information send a message to info at phpclasses dot org.