FPDI is a PHP library for importing existing PDF documents into FPDF. It allows you to use PDF files as templates for your documents with ease and flexibility.
⚠️ To ensure full functionality, the above dependencies might be required.
Package Description
FPDI (setasign/fpdi) is a PHP library that simplifies the process of importing and using existing PDF documents within your FPDF projects. By seamlessly integrating PDF files into your workflow, FPDI offers enhanced versatility and customization options to your document generation processes.
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/setasign/fpdi/2.6.4/loader.php';
require_once 'libs/setasign/fpdf/1.8.6/loader.php';
use setasign\Fpdi\Fpdi;
use setasign\Fpdf\Fpdf;
$obj = new Fpdi();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.