mikehaertl/php-pdftk
A PDF conversion and form utility based on pdftk observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 93
- Release rhythm 93
- 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: 24.0
- age_days: 4438
- days_rel: 49
- days_push: 43
- n_releases_24m: 5
Adoption not part of the score
1015 stars · 135 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PHP library wrapping the pdftk command-line tool to fill PDF forms, merge/split PDFs, and manage passwords and metadata. It converts between PHP arrays and XFDF/FDF form data with UTF-8 support.
Use cases
- fill pdf forms from php
- merge multiple pdf files into one
- split a pdf into single pages
- create fdf or xfdf files from php arrays
- set or remove pdf passwords and permissions
- read pdf form field metadata
- add background or overlay to a pdf
When to choose
- you need to programmatically fill or flatten PDF forms in PHP
- you want to concatenate, split, or stamp PDFs from a web app
- you need UTF-8-safe XFDF/FDF generation
- you already have pdftk installed on the server
When to avoid
- you cannot install the pdftk binary on your system
- you need pure-PHP PDF generation without external binaries
- you are stuck with pdftk 1.x and need 2.x-only features
- you run pdftk from snap on Ubuntu and cannot change the temp directory
Facets
library · maturity active
pdf file-system security pdf files web-development php windows cli pdftk-wrapper pdf-forms fdf xfdf pdf-manipulation composer-package linux macos
1 source
- readme: https://github.com/mikehaertl/php-pdftk · fetched 2026-08-28 · 26bb2f104a95
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mikehaertl/php-pdftk | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="mikehaertl/php-pdftk")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem