spipu/html2pdf
OFFICIAL PROJECT | HTML to PDF converter written in PHP observed · 2026-08-28
Health v2 · maintenance only
41/100
- Activity 25
- Release rhythm 28
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 49
- age_days: 4244
- days_rel: 451
- days_push: 451
- n_releases_24m: 4
Adoption not part of the score
1769 stars · 738 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Html2Pdf is a PHP library that converts specially prepared HTML markup into PDF documents, built on top of TCPDF. It is designed for generating documents like invoices and delivery notes from clean, purpose-written HTML rather than converting arbitrary web pages.
Use cases
- generate pdf invoices from html templates in php
- create pdf delivery notes from a web application
- convert cleaned html markup to pdf documents
- generate official pdf documents server-side with php
- produce pdf documentation from html
When to choose
- you are building a PHP application and need server-side PDF generation
- you can write clean, purpose-built HTML for your PDF layout
- you need table-heavy documents like invoices or delivery notes
- you want a Composer-installable library built on TCPDF
When to avoid
- you need to convert arbitrary existing web pages or WYSIWYG HTML output faithfully
- you need full modern HTML/CSS support including all tags
- you are not working in PHP
Facets
library · maturity active
pdf templating pdf web-development backend php html-to-pdf tcpdf invoice-generation document-generation composer
2 sources
- readme: https://github.com/spipu/html2pdf · fetched 2026-08-28 · 7fb2ee45869a
- homepage: http://html2pdf.fr/en/default · fetched 2026-08-29 · 071845e449cb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| spipu/html2pdf | main | 41 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem