[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8390":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":15,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":30,"discoverSource":31},8390,"TCPDF","tecnickcom\u002FTCPDF","tecnickcom","Deprecated: PHP PDF library, superseded by tc-lib-pdf (https:\u002F\u002Fgithub.com\u002Ftecnickcom\u002Ftc-lib-pdf)","https:\u002F\u002Ftcpdf.org",null,"PHP",4543,1590,175,1,0,2,4,3,31.61,"Other",false,"main",[25,26],"pdf","pdf-generation","2026-06-12 02:01:53","# TCPDF\n\n> Legacy PDF engine for PHP. **Deprecated** and maintained for existing integrations.\n\n[![Latest Stable Version](https:\u002F\u002Fposer.pugx.org\u002Ftecnickcom\u002Ftcpdf\u002Fversion)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Ftecnickcom\u002Ftcpdf)\n[![License](https:\u002F\u002Fposer.pugx.org\u002Ftecnickcom\u002Ftcpdf\u002Flicense)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Ftecnickcom\u002Ftcpdf)\n[![Downloads](https:\u002F\u002Fposer.pugx.org\u002Ftecnickcom\u002Ftcpdf\u002Fdownloads)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Ftecnickcom\u002Ftcpdf)\n[![Donate via PayPal](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdonate-paypal-87ceeb.svg)](https:\u002F\u002Fwww.paypal.com\u002Fdonate\u002F?hosted_button_id=NZUEC5XS8MFBJ)\n\nIf TCPDF helps your business, please consider supporting development via [PayPal](https:\u002F\u002Fwww.paypal.com\u002Fdonate\u002F?hosted_button_id=NZUEC5XS8MFBJ).\n\n---\n\n## Deprecation Notice\n\nTCPDF is **deprecated** and in **maintenance-only mode**.\n\nActive feature development has moved to [tc-lib-pdf](https:\u002F\u002Fgithub.com\u002Ftecnickcom\u002Ftc-lib-pdf), the modern and modular successor.\n\nFor new projects, use `tecnickcom\u002Ftc-lib-pdf`. This repository remains available for legacy systems and critical compatibility fixes.\n\n### Migration Path\n\n- New projects: install `tecnickcom\u002Ftc-lib-pdf`.\n- Existing TCPDF users: keep TCPDF for current production workloads and migrate in phases.\n- Teams seeking modern architecture, Composer-first design, and stronger type-safety should prioritize `tc-lib-pdf`.\n\n### Why Migrate to tc-lib-pdf\n\n- Modern architecture: modular libraries and cleaner component boundaries improve maintainability.\n- Better extensibility: new features are easier to add without patching a monolithic legacy core.\n- Stronger tooling fit: modern package structure works better with static analysis, CI, and automated tests.\n- Lower long-term risk: reduces technical debt tied to legacy APIs and supports ongoing PHP ecosystem evolution.\n- Improved delivery speed: teams can implement and ship new PDF capabilities with less friction.\n\nMigration still requires planning and regression checks to preserve rendering parity for existing documents.\n\n### Future Compatibility Possibility\n\nAs a long-term possibility, TCPDF could be refactored to use `tc-lib-pdf` internally as a backend while preserving a practical level of backward compatibility for existing TCPDF integrations.\n\nThis is not part of a committed roadmap and there is no guarantee it will happen. It is documented here only as a potential direction that may be evaluated in the future.\n\n---\n\n## Overview\n\nTCPDF is a pure-PHP library for generating PDF documents and barcodes directly in application code.\n\nIt has been widely used across many PHP stacks and still provides a complete feature set for text rendering, page composition, graphics, signatures, forms, and standards-oriented output.\n\n| | |\n|---|---|\n| **Package** | `tecnickcom\u002Ftcpdf` |\n| **Author** | Nicola Asuni \u003Cinfo@tecnick.com> |\n| **License** | [GNU LGPL v3](https:\u002F\u002Fwww.gnu.org\u002Fcopyleft\u002Flesser.html) (see [LICENSE.TXT](LICENSE.TXT)) |\n| **Website** | \u003Chttp:\u002F\u002Fwww.tcpdf.org> |\n| **Source** | \u003Chttps:\u002F\u002Fgithub.com\u002Ftecnickcom\u002FTCPDF> |\n\n---\n\n## Features\n\n### Text & Fonts\n- UTF-8 Unicode and right-to-left (RTL) language support\n- TrueTypeUnicode, OpenTypeUnicode v1, TrueType, OpenType v1, Type1, and CID-0 fonts\n- Font subsetting\n- Text hyphenation, stretching, spacing, and rendering modes (fill\u002Fstroke\u002Fclipping)\n- Automatic line breaks, page breaks, and justification\n\n### Layout & Content\n- Standard and custom page formats, margins, and measurement units\n- XHTML + CSS rendering, JavaScript, and forms\n- Automatic headers and footers\n- Multi-column mode and no-write page regions\n- Bookmarks, named destinations, and table of contents\n- Automatic page numbering, page groups, move\u002Fdelete pages, and undo transactions\n\n### Images, Graphics & Color\n- Native JPEG, PNG, and SVG support\n- Geometric drawing primitives and transformations\n- Support for GD image formats (`GD`, `GD2`, `GD2PART`, `GIF`, `JPEG`, `PNG`, `BMP`, `XBM`, `XPM`)\n- Additional formats via ImageMagick (when available)\n- JPEG\u002FPNG ICC profiles, grayscale\u002FRGB\u002FCMYK\u002Fspot colors, and transparencies\n\n### Security, Standards & Advanced Output\n- Encryption up to 256-bit and digital signature certifications\n- PDF annotations (links, text, and file attachments)\n- 1D and 2D barcode support (including CODE 128, EAN\u002FUPC, Datamatrix, QR Code, PDF417)\n- XObject templates and layers with object visibility controls\n- PDF\u002FA-1b support\n\n---\n\n## Requirements\n\n- PHP 7.1 or later\n- `ext-curl`\n\nOptional extensions for richer output in some workflows: `gd`, `zlib`, `imagick`.\n\n---\n\n## Third-Party Fonts\n\nThis library may include third-party font files released under different licenses.\n\nPHP metadata files under [fonts](fonts) are covered by the TCPDF license (GNU LGPL v3). They contain font metadata and can also be generated using TCPDF font utilities.\n\nOriginal binary TTF files are renamed for compatibility and compressed with PHP `gzcompress` (the `.z` format).\n\n| Prefix | Source | License |\n|---|---|---|\n| `free*` | [GNU FreeFont](https:\u002F\u002Fwww.gnu.org\u002Fsoftware\u002Ffreefont\u002F) | GNU GPL v3 |\n| `pdfa*` | Derived from GNU FreeFont | GNU GPL v3 |\n| `dejavu*` | [DejaVu Fonts](http:\u002F\u002Fdejavu-fonts.org) | Bitstream\u002FDejaVu terms |\n| `ae*` | [Arabeyes.org](http:\u002F\u002Fprojects.arabeyes.org\u002F) | GNU GPL v2 |\n\nFor full details, see the bundled notices in the corresponding subdirectories under [fonts](fonts).\n\n---\n\n## ICC Profile\n\nTCPDF includes `sRGB.icc` from the Debian [`icc-profiles-free`](https:\u002F\u002Fpackages.debian.org\u002Fsource\u002Fstable\u002Ficc-profiles-free) package.\n\n---\n\n## Contact\n\nNicola Asuni \u003Cinfo@tecnick.com>\n","TCPDF 是一个用于生成 PDF 文档和条形码的 PHP 库。它支持文本渲染、页面布局、图形处理、数字签名、表单创建以及标准输出等功能，能够满足多种文档生成需求。尽管该项目已被标记为不再积极开发，并建议新项目使用其现代替代品 tc-lib-pdf，但对于现有系统特别是那些依赖于 TCPDF 的遗留应用来说，TCPDF 仍然提供关键的兼容性维护与安全更新。因此，它非常适合需要保持现有功能稳定性的 PHP 项目，在迁移至更现代解决方案之前作为过渡方案使用。","2026-06-11 03:17:42","top_language"]