laravel pdf export code example
Example 1: laravel pdf export
composer require dompdf/dompdf
Example 2: laravel pdf export
// include autoloader
require_once 'dompdf/autoload.inc.php';
Example 3: laravel pdf export
// somewhere early in your project's loading, require the Composer autoloader
// see: http://getcomposer.org/doc/00-intro.md
require 'vendor/autoload.php';