{"id":13461996,"url":"https://github.com/tecnickcom/tc-lib-pdf","last_synced_at":"2025-05-13T17:13:11.185Z","repository":{"id":37451385,"uuid":"60865090","full_name":"tecnickcom/tc-lib-pdf","owner":"tecnickcom","description":"TCPDF - PHP PDF Library - https://tcpdf.org","archived":false,"fork":false,"pushed_at":"2025-04-25T17:21:50.000Z","size":467,"stargazers_count":1703,"open_issues_count":10,"forks_count":231,"subscribers_count":190,"default_branch":"main","last_synced_at":"2025-05-10T07:03:34.736Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tecnickcom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"custom":["https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026currency_code=GBP\u0026business=paypal@tecnick.com\u0026item_name=donation%20for%20tc-lib-pdf%20project"]}},"created_at":"2016-06-10T17:23:19.000Z","updated_at":"2025-05-05T20:39:08.000Z","dependencies_parsed_at":"2023-01-31T08:31:09.617Z","dependency_job_id":"9fa7e984-fb92-4e06-af66-18bf7f13102d","html_url":"https://github.com/tecnickcom/tc-lib-pdf","commit_stats":{"total_commits":86,"total_committers":6,"mean_commits":"14.333333333333334","dds":0.06976744186046513,"last_synced_commit":"f635d7f79e180526a4e22f7a86de436a8fb7ebba"},"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecnickcom%2Ftc-lib-pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecnickcom%2Ftc-lib-pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecnickcom%2Ftc-lib-pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecnickcom%2Ftc-lib-pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tecnickcom","download_url":"https://codeload.github.com/tecnickcom/tc-lib-pdf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253547214,"owners_count":21925544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T12:00:37.059Z","updated_at":"2025-05-13T17:13:11.144Z","avatar_url":"https://github.com/tecnickcom.png","language":"PHP","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026currency_code=GBP\u0026business=paypal@tecnick.com\u0026item_name=donation%20for%20tc-lib-pdf%20project"],"categories":["Uncategorized","PHP"],"sub_categories":["Uncategorized"],"readme":"# tc-lib-pdf\n*PHP PDF Library*\n\n[![Latest Stable Version](https://poser.pugx.org/tecnickcom/tc-lib-pdf/version)](https://packagist.org/packages/tecnickcom/tc-lib-pdf)\n![Build](https://github.com/tecnickcom/tc-lib-pdf/actions/workflows/check.yml/badge.svg)\n[![Coverage](https://codecov.io/gh/tecnickcom/tc-lib-pdf/graph/badge.svg?token=rmAqNKVG1c)](https://codecov.io/gh/tecnickcom/tc-lib-pdf)\n[![License](https://poser.pugx.org/tecnickcom/tc-lib-pdf/license)](https://packagist.org/packages/tecnickcom/tc-lib-pdf)\n[![Downloads](https://poser.pugx.org/tecnickcom/tc-lib-pdf/downloads)](https://packagist.org/packages/tecnickcom/tc-lib-pdf)\n\n[![Donate via PayPal](https://img.shields.io/badge/donate-paypal-87ceeb.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026currency_code=GBP\u0026business=paypal@tecnick.com\u0026item_name=donation%20for%20tc-lib-pdf%20project)\n*Please consider supporting this project by making a donation via [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026currency_code=GBP\u0026business=paypal@tecnick.com\u0026item_name=donation%20for%20tc-lib-pdf%20project)*\n\n* **category**    Library\n* **package**     \\Com\\Tecnick\\Pdf\n* **author**      Nicola Asuni \u003cinfo@tecnick.com\u003e\n* **copyright**   2002-2024 Nicola Asuni - Tecnick.com LTD\n* **license**     http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT)\n* **link**        https://tcpdf.org\n* **source**      https://github.com/tecnickcom/tc-lib-pdf\n* **SRC DOC**     https://tcpdf.org/docs/srcdoc/tc-lib-pdf\n\n## Description\n\nPHP library for generating PDF documents on-the-fly.\nThis is the new version of the TCPDF library that will be deprecated once all the existing features are ported.\n\nNOTE: The first complete (stable) version will be 8.1.0. As this is currently unstable, only the patch number in the version will be updated, even if breaking changes are introduced.\n\n### Main Features:\n\n***(the features striked through are in progress)***\n\n* all standard page formats, custom page formats, custom margins and units of measure;\n* UTF-8 Unicode and Right-To-Left languages;\n* TrueTypeUnicode, OpenTypeUnicode v1, TrueType, OpenType v1, Type1 and CID-0 fonts;\n* font subsetting;\n* [] ~SVG~\n* [] ~CSS~\n* [] ~HTML~\n* [] ~JavaScript~\n* images, graphic (geometric figures) and transformation methods;\n* supports JPEG, PNG and SVG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (http://www.imagemagick.org/script/formats.php)\n* 1D and 2D barcodes via tc-lib-barcode.\n* JPEG and PNG ICC profiles, Grayscale, RGB, CMYK, Spot Pdfs and Transparencies;\n* page common content support (header/footer);\n* document encryption up to 256 bit and digital signature certifications;\n* PDF annotations, including links, text and file attachments;\n* text rendering modes (fill, stroke and clipping);\n* multiple columns mode;\n* no-write page regions;\n* bookmarks, named destinations and table of content;\n* text hyphenation;\n* text stretching and spacing (tracking);\n* automatic page break, line break and text alignments including justification;\n* automatic page numbering and page groups;\n* move and delete pages;\n* page compression (requires php-zlib extension);\n* XOBject Templates;\n* Layers and object visibility.\n* PDF/A-1b support.\n\n### Third party fonts:\n\nThis library may include third party font files released with different licenses.\n\nAll the PHP files on the fonts directory are subject to the general TCPDF license (GNU-LGPLv3),\nthey do not contain any binary data but just a description of the general properties of a particular font.\nThese files can be also generated on the fly using the font utilities and TCPDF methods.\n\nAll the original binary TTF font files have been renamed for compatibility with TCPDF and compressed using the gzcompress PHP function that uses the ZLIB data format (.z files).\n\nThe binary files (.z) that begins with the prefix \"free\" have been extracted from the GNU FreeFont collection (GNU-GPLv3).\nThe binary files (.z) that begins with the prefix \"pdfa\" have been derived from the GNU FreeFont, so they are subject to the same license.\nFor the details of Copyright, License and other information, please check the files inside the directory fonts/freefont-20120503\nLink : http://www.gnu.org/software/freefont/\n\nThe binary files (.z) that begins with the prefix \"dejavu\" have been extracted from the DejaVu fonts 2.33 (Bitstream) collection.\nFor the details of Copyright, License and other information, please check the files inside the directory fonts/dejavu-fonts-ttf-2.33\nLink : http://dejavu-fonts.org\n\nThe binary files (.z) that begins with the prefix \"ae\" have been extracted from the Arabeyes.org collection (GNU-GPLv2).\nLink : http://projects.arabeyes.org/\n\n### ICC profile:\n\nTCPDF includes the sRGB.icc profile from the icc-profiles-free Debian package:\nhttps://packages.debian.org/source/stable/icc-profiles-free\n\n## Getting started\n\nFirst, you need to install all development dependencies using [Composer](https://getcomposer.org/):\n\n```bash\n$ curl -sS https://getcomposer.org/installer | php\n$ mv composer.phar /usr/local/bin/composer\n```\n\nYou can install the library via composer:\n\n```bash\ncomposer require tecnickcom/tc-lib-pdf\n```\n\nThis project include a Makefile that allows you to test and build the project with simple commands.\nTo see all available options:\n\n```bash\nmake help\n```\n\nTo install all the development dependencies:\n\n```bash\nmake deps\n```\n\n## Running all tests\n\nBefore committing the code, please check if it passes all tests using\n\n```bash\nmake qa\n```\n\nAll artifacts are generated in the target directory.\n\n\n## Example\n\nExamples are located in the `example` directory.\n\nStart a development server (requires PHP 8.0+) using the command:\n\n```\nmake server\n```\n\nand point your browser to \u003chttp://localhost:8971/index.php\u003e\n\n\n## Installation\n\nCreate a composer.json in your projects root-directory:\n\n```json\n{\n    \"require\": {\n        \"tecnickcom/tc-lib-pdf\": \"dev-main\"\n    },\n    \"repositories\": [\n        {\n            \"type\": \"vcs\",\n            \"url\": \"git@github.com:tecnickcom/tc-lib-pdf.git\"\n        }\n    ]\n}\n```\n\n\n## Packaging\n\nThis library is mainly intended to be used and included in other PHP projects using Composer.\nHowever, since some production environments dictates the installation of any application as RPM or DEB packages,\nthis library includes make targets for building these packages (`make rpm` and `make deb`).\nThe packages are generated under the `target` directory.\n\nWhen this library is installed using an RPM or DEB package, you can use it your code by including the autoloader:\n```\nrequire_once ('/usr/share/php/Com/Tecnick/Barcode/autoload.php');\n```\n\n\n## Developer(s) Contact\n\n* Nicola Asuni \u003cinfo@tecnick.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftecnickcom%2Ftc-lib-pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftecnickcom%2Ftc-lib-pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftecnickcom%2Ftc-lib-pdf/lists"}