setasign/fpdi
FPDI is a collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF. Because it is also possible to use FPDI with TCPDF, there are no fixed dependencies defined. Please see suggestions for packages which evaluates the dependencies automatically.
v2.6.8
165M downloads/mo
#229 most downloaded on composer
Setasign/FPDI
What this package is like to depend on
Last release 2 months ago
11 Jun 2026
Release timing varies
gaps range from 4 weeks to 2.0 years
Some releases are documented
notes for 10 of 33 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
36 releases · first in 2015
4 releases in the last 12 months
see the full history below
Release timeline
36 releases · May 2015 to Jun 2026Releases
latest 36-
v2.6.811 Jun 2026Release notes
Open source →Fixes
- Handle filter exceptions of faulty streams in
Page::getContentStream()(fixes #252).
Tweaks
- Optimized handling of recursion in xref-table parsing.
- Handle filter exceptions of faulty streams in
-
v2.6.713 May 2026Release notes
Open source →Fixes
- Fixed handling of
/Prevvalue in view to recursion when parsing cross-references. - Fixed handling of recursion in faulty page tree.
- Fixed handling of
-
v2.6.613 Mar 2026Release notes
Open source →Fixes
- Fixed generation of internal reader-id in
FpdiTrait. - Clear
Tokenizerstack inCrossReferenceconstructor.
- Fixed generation of internal reader-id in
-
v2.6.511 Mar 2026Release notes
Open source →Fixes
- Fixed font issue in
FpdfTplTrait. - Fixed PHP 8.5 compatibility in
Ascii85class.
Tweaks
- Use fully qualified function names.
- Replaced
list()calls by array destructing via[]. - Added
#[\SensitiveParameter]-attribute to$parserParamsparameter in all methods handling that parameter. - Dropped support for PHP 7.1 due to security issues in legacy dependencies.
- Fixed font issue in
-
v2.6.405 Aug 2025Release notes
Open source →Fixes
- Fixed handling of recursive structures to avoid memory exhaustion (CVE-2025-54869).
Tweaks
- Added check for
falseof return value ofStreamReader::readBytes()inCrossReference\FixedReaderto avoid PHP warning.
-
v2.6.305 Feb 2025Release notes
Open source →Fixes
- Added missing
PdfType::resolve()calls inreadPages()method (via #227).
Tweaks
- Dropped support for PHP 5.6 + 7.0 due to missing support in major dependencies.
- Reverted fix for implicitly nullable parameter declarations.
- Added missing
-
v2.6.210 Dec 2024Release notes
Open source →Fixes
- Fixed importing of links in none PDFDocEncoding.
- Fixed handling of faulty dictionaries.
Tweaks
- Fixed some small type inspection issues.
-
v2.6.102 Sep 2024Release notes
Open source →Fixes
- Fixed handling of imported pages in templates with another unit than "pt" by @JanSlabon in #217
Tweaks
- Remove implicitly nullable parameter declarations by @MarkusBauer in #215
-
v2.6.011 Dec 2023Release notes
Open source →Fixes
- Ignore undefined objects in link annotation logic (fixes #191).
- Flatten indirect references in imported annotation dictionaries (fixes #195).
Tweaks
- Ensure newline before endobj token (fixes #184).
- Optimized fallback logic in flate decode method.
- Added tests for PHP 8.3.
Features
- Added PdfType::flatten() method, which flattens indirect objects to direct objects.
-
v2.5.028 Sep 2023Release notes
Open source →Fixes
- Catch faulty stream wrapper implementations in StreamReader constructor.
Tweaks
- Optimized parameter naming in PdfIndirectObject::parse().
- Moved value parsing into explicit methods.
- Optimized doc-blocks.
Features
- Added PdfString::escape() method.
- Add support for handling of Crypt filter in PdfStream class.
-
v2.4.127 Jul 2023Nothing published for this version
-
v2.4.026 Jul 2023Nothing published for this version
-
v2.3.709 Feb 2023Nothing published for this version
-
v2.3.611 Feb 2021Nothing published for this version
-
v2.3.503 Dec 2020Nothing published for this version
-
v2.3.427 Aug 2020Nothing published for this version
-
v2.3.328 Apr 2020Nothing published for this version
-
v2.3.223 Mar 2020Nothing published for this version
-
v2.3.110 Mar 2020Nothing published for this version
-
v2.3.019 Feb 2020Nothing published for this version
-
v2.2.030 Jan 2019Nothing published for this version
-
v2.1.106 Nov 2018Nothing published for this version
-
v2.1.013 Sep 2018Nothing published for this version
-
v2.0.318 Apr 2018Nothing published for this version
-
v2.0.221 Feb 2018Nothing published for this version
-
v2.0.113 Nov 2017Nothing published for this version
-
v2.0.012 Oct 2017Nothing published for this version
-
v2.0.0-rc118 Sep 2017 pre-releaseNothing published for this version
-
v2.0.0-beta228 Aug 2017 pre-releaseNothing published for this version
-
v2.0.0-beta22 Aug 2017 pre-releaseNothing published for this version
-
1.6.211 May 2017Nothing published for this version
-
1.6.130 Nov 2015Nothing published for this version
-
1.6.012 Oct 2015Nothing published for this version
-
1.5.418 May 2015Nothing published for this version
-
1.5.311 May 2015Nothing published for this version
-
1.5.208 May 2015Nothing published for this version