tecnickcom/tcpdf

Deprecated: PHP PDF library, superseded by tc-lib-pdf (https://github.com/tecnickcom/tc-lib-pdf)

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 59 minutes ago
Type:Library / SDKCategory(s):Core & Utility LibrariesLanguages & Runtimes
Added to GitGenius on September 15th, 2026
Created on August 8th, 2014
Open Issues & Pull Requests: 1 (+0)
GitHub issues: Enabled
Number of forks: 1,577
Total Stargazers: 4,534 (+0)
Total Subscribers: 172 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 136.2 days
Mean response time: 629.6 days
90th percentile: 1888.3 days
Tracked items: 394

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 1
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 134 days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (5)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

TCPDF is a PHP library for generating PDF documents and barcodes directly in application code.

TCPDF solves the problem of creating PDF output from PHP applications without external dependencies. Starting with version 7, it operates as a compatibility facade over the modern tc-lib-pdf engine. The public API remains unchanged—existing code calling methods like AddPage(), SetFont(), Cell(), and Output() continues to work without modification. Internally, TCPDF delegates PDF generation to tc-lib-pdf's rendering engine while maintaining a compatibility layer that reproduces the legacy stateful cursor model, page management, and automatic features like page breaks and headers/footers.

Developers maintaining legacy PHP systems that depend on TCPDF should understand that the library is in maintenance-only mode. New projects should adopt tc-lib-pdf instead. For existing integrations, TCPDF provides a migration path: the public API is largely unchanged, so existing code runs without alteration. However, output is structurally equivalent rather than byte-identical to the original implementation—documents render with the same content and page sizes, but pagination may shift by a page in long flowing documents due to differences in the modern engine's line-breaking and font metrics. Some legacy behaviors are intentionally not reproduced, including legacy font definitions, EPS/AI vector import, and certain no-op features; the MAPPING.md file documents the delegation status of all 291 public methods.

The project is in maintenance-only mode with active development moved to its successor. TCPDF remains widely installed across PHP packages and receives critical compatibility fixes to maintain security and stability for the shared infrastructure that depends on it.