PHP Package: setasign/fpdi

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.

Current Version: 2.6.4
Last Updated: 2025-08-05
PHP Requirement: ^7.1 || ^8.0
Dependencies:
setasign/fpdf
⚠️ 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.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.6.4

Download Download v2.6.4

Previous Versions

Code Integration Example

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.