# TCPDF

PHP PDF Library (TCPDF)

Repository: https://github.com/tecnickcom/tc-lib-pdf
Canonical: https://ross.abutalabs.com/products/tcpdf
Homepage: https://tcpdf.org/
Language: PHP
License: NOASSERTION
License Family: other
Topics: pdf, pdf-generation, php, tcpdf
Last push: 2026-08-25T14:36:56+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 3736, "days_push": 8, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1900, forks 257 (observed 2026-08-28T04:05:51.506383+00:00)

## What it is
TCPDF is a pure-PHP library for generating PDF documents and barcodes directly in application code, now in maintenance-only mode. It has been refactored into a compatibility facade over its modern successor tc-lib-pdf, keeping the legacy API unchanged while delegating rendering to the new engine.

## Use cases
- generate pdf invoices from php
- create pdf documents in a php web app
- render html to pdf with php
- generate barcodes in pdf files
- add digital signatures to pdfs
- maintain legacy php code that uses tcpdf

## When to choose
- you have existing code built on the TCPDF API and need it to keep working
- you need a pure-PHP PDF generator with no external dependencies
- you need barcodes, forms, or signatures in generated PDFs

## When to avoid
- you are starting a new PHP project - use tc-lib-pdf instead
- you need byte-identical output to legacy TCPDF versions
- you need a PDF library in a non-PHP language

## Facets
- artifact type: library
- maturity: maintenance
- function: pdf
- domain: pdf, web-development, files
- platform: php, cross-platform
- tags: pdf-generation, barcodes, deprecated, legacy-api, pure-php, web-server

## Member repositories
- tecnickcom/tc-lib-pdf (main) score 77
- tecnickcom/TCPDF (mirror) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:51.506383+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:20:10.554434+00:00, confidence not recorded.
  - readme: https://github.com/tecnickcom/tc-lib-pdf (fetched 2026-08-28T04:05:51.506383+00:00, sha f762ecb6de65)
- Data as of 2026-08-30T08:39:29.467469+00:00.
