{"repo":"kallefrombosnia/tinypdf-php","free":true,"listed":false,"github":"https://github.com/kallefrombosnia/tinypdf-php","clone":"git clone https://github.com/kallefrombosnia/tinypdf-php.git","description":"Minimal PDF creation library for PHP 8.2+. Zero dependencies, strongly typed, clean code.","language":"PHP","stars":25,"topics":["document","markdown","pdf","php","tinypdf"],"license":"MIT","category":"media-processing","readme_excerpt":"TinyPDF-PHP Minimal PDF creation library for PHP 8.2+. Zero dependencies, strongly typed, clean code architecture. Port of tinypdf from TypeScript to PHP. Features - Create PDFs from scratch with zero dependencies - Strongly typed with PHP 8.2+ type declarations - Clean architecture with interfaces and value objects - Support for text, rectangles, lines, JPEG images, and clickable links - Built-in markdown to PDF conversion - Text measurement and alignment - Color support (hex format) Installation Usage Basic PDF Creation Adding Images Markdown to PDF Adding Clickable Links Text Measurement Examples The library includes several complete examples in the examples/ directory: Running Examples Run all examples at once: Or run individual examples: Available Examples Each example includes its own README with detailed information and generated PDF output. - Basic - Text rendering, shapes, colors, alignment, and links (preview) - Invoice - Professional invoice template (preview) - Receipt - Sales receipt template (preview) - Report - Business report with charts (preview) - Shipping Label - Package shipping label (preview) - Markdown - Convert markdown to PDF (preview) - Multi-Page - Multi-page documents (preview) - Ticket - Event ticket design (preview) - Data Export - Export data tables (preview) - Service Agreement - Contract template (preview) API Reference For detailed API documentation, see the inline documentation in the source code: - TinyPdf - Main factory class - PageContext","default_branch":null,"files":null,"tree":[],"storefront":"/r/kallefrombosnia","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kallefrombosnia/tinypdf-php/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}