{"repo":"FriendsOfCake/CakePdf","free":true,"listed":false,"github":"https://github.com/FriendsOfCake/CakePdf","clone":"git clone https://github.com/FriendsOfCake/CakePdf.git","description":"CakePHP plugin for creating and/or rendering PDFs, supporting several popular PDF engines.","language":"PHP","stars":372,"topics":["php","cakephp","cakephp-plugin","pdf"],"license":"MIT","category":"media-processing","readme_excerpt":"CakePdf plugin Plugin containing CakePdf lib which will use a PDF engine to convert HTML to PDF. Engines included in the plugin: DomPdf (^3.0) Mpdf (^8.0.4) TcLibPdf (^8) - successor of the deprecated Tcpdf engine Tcpdf (^6.3) - deprecated , the underlying tecnickcom/tcpdf package is deprecated upstream; use TcLibPdf instead WeasyPrint ( Recommended if you have the privileges to install something on your server) WkHtmlToPdf (project no longer maintained but binaries still available for various environments) Community maintained engines: PDFreactor Requirements One of the following render engines: DomPdf, Mpdf, Tcpdf, WeasyPrint or wkhtmltopdf pdftk (optional) See: http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ Installation Using Composer: CakePdf does not include any of the supported PDF engines, you need to install the ones you intend to use yourself. Check WeasyPrint's installation guide to install it on your system. DomPdf, Mpdf, TcLibPdf and Tcpdf can be installed via composer using one of the following commands: TcLibPdf font setup Unlike the deprecated Tcpdf engine, tecnickcom/tc-lib-pdf does not bundle any fonts. It loads fonts from generated .json font files located in a directory referenced by the K PATH FONTS constant. Define it once during your application bootstrap, before any PDF is rendered: The directory must contain at least the core fonts you reference (e.g. helvetica.json ). See the tc-lib-pdf-font documentation for how to generate font files. Setup Loa","default_branch":null,"files":null,"tree":[],"storefront":"/r/FriendsOfCake","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/FriendsOfCake/CakePdf/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."}