{"repo":"elibyy/tcpdf-laravel","free":true,"listed":false,"github":"https://github.com/elibyy/tcpdf-laravel","clone":"git clone https://github.com/elibyy/tcpdf-laravel.git","description":"TCPDF helper for laravel","language":"PHP","stars":355,"topics":["laravel","php","pdf"],"license":"MIT","category":"media-processing","readme_excerpt":"Laravel 6-7-8-9-10-11-12-13 TCPDF A simple Laravel service provider with some basic configuration for including the TCPDF library TCPDF is not really supported in PHP 7 but there's a plan for supporting it, check this out. Installation The Laravel TCPDF service provider can be installed via composer by requiring the elibyy/tcpdf-laravel package in your project's composer.json . (The installation may take a while, because the package requires TCPDF. Sadly its .git folder is very heavy) or Laravel 5.5+ will use the auto-discovery function. If you don't use auto-discovery you will need to include the service provider / facade in config/app.php . (Please note: TCPDF cannot be used as an alias) for lumen you should add the following lines: That's it! You're good to go. Here is a little example: another example for generating multiple PDF's For a list of all available function take a look at the TCPDF Documentation Configuration Laravel-TCPDF comes with some basic configuration. If you want to override the defaults, you can publish the config, like so: php artisan vendor:publish --provider=\"Elibyy\\TCPDF\\ServiceProvider\" Now access config/tcpdf.php to customize. use original header is to used the original Header() from TCPDF. Please note that PDF::setHeaderCallback(function($pdf){}) overrides this settings. use original footer is to used the original Footer() from TCPDF. Please note that PDF::setFooterCallback(function($pdf){}) overrides this settings. use fpdi is so that our intern","default_branch":null,"files":null,"tree":[],"storefront":"/r/elibyy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/elibyy/tcpdf-laravel/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."}