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. observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 99
- Release rhythm 76
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 59.0
- age_days: 4135
- days_rel: 83
- days_push: 9
- n_releases_24m: 7
Adoption not part of the score
1248 stars · 179 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
FPDI is a collection of PHP classes that read pages from existing PDF documents and use them as templates in PDF generation libraries like FPDF, TCPDF, and tFPDF. It requires no special PHP extensions beyond Zlib and is distributed under the MIT license.
Use cases
- import pages from an existing pdf into a new pdf with php
- stamp a watermark or overlay onto existing pdf pages
- merge pages from multiple pdf documents using fpdf
- use a pdf page as a template and add text on top
- extract and reuse single pages from a pdf file in php
- generate invoices that build on an existing pdf letterhead
When to choose
- you generate PDFs in PHP with FPDF, TCPDF, tFPDF, or mPDF and need to reuse existing PDF pages
- you want a pure-PHP solution with no special extensions beyond Zlib
- you need an MIT-licensed library for PDF page importing
When to avoid
- you need to edit or fully manipulate existing PDFs (annotations, form fields, bookmarks are lost on import)
- you need to import encrypted or protected PDF documents
- the source PDF uses compression techniques unsupported by the free FPDI parser
Facets
library · maturity stable
pdf parser templating pdf files web-development php cross-platform fpdf tcpdf pdf-import page-templates composer
7 sources
- readme: https://github.com/Setasign/FPDI · fetched 2026-08-28 · 0523afdee209
- homepage: https://www.setasign.com/fpdi · fetched 2026-08-29 · 654b73abc39c
- site_page: https://www.setasign.com/about-us · fetched 2026-08-29 · 134a815ac59e
- site_page: https://www.setasign.com/about-us/our-clients · fetched 2026-08-29 · 1b7e7dd62c56
- site_page: https://manuals.setasign.com/fpdi-manual/v2/installation · fetched 2026-08-29 · ed1fac717e6b
- site_page: https://www.setasign.com/support/faq/fpdi · fetched 2026-08-29 · 8c4118fdc68a
- site_page: https://www.setasign.com/support/faq · fetched 2026-08-29 · 7275381e395d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Setasign/FPDI | main | 91 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem