dcsimg
August 20, 2018
Hot Topics:

FPDF: PDF Creation and Manipulation in PHP

  • March 10, 2011
  • By Glen Kunene
  • Send Email »
  • More Articles »

PHP has supported PDF document manipulation for at least a decade, which many PHP developers implement for commercial purposes via the PDFlib library, a fairly expensive piece of software (PDFlib 8 costs $1,095).

In his PHPBuilder article Creating and Manipulating PDFs with PHP and FPDF, Developer.com Contributing Editor Jason Gilmore introduces an open source PDF manipulation solution that is much more cost effective: FPDF. He writes:

FPDF is an open source PHP class released under a permissive license, which indicates that the software can be used for any purpose, commercial or otherwise. Bundling its PDF manipulation functionality into a single class, using FPDF is as simple as referencing it within your PHP script using the require statement.

In his article, Jason walks you through:

  1. Installing FPDF
  2. Creating Your First PDF with FPDF
  3. Adding multiple sections of text
  4. Adding images
  5. Adding a watermark

 

Read the full story at PHPBuilder:
Creating and Manipulating PDFs with PHP and FPDF



Originally published on https://www.developer.com.


Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 


Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

By submitting your information, you agree that developer.com may send you developer offers via email, phone and text message, as well as email offers about other products and services that developer believes may be of interest to you. developer will process your information in accordance with the Quinstreet Privacy Policy.

Sitemap

Thanks for your registration, follow us on our social networks to keep up-to-date