canducci/laravel-dompdf-helpers is a Laravel package for helper laravek dompdf.
It currently has 0 GitHub stars and 6 downloads on Packagist (latest version v0.1.0).
Install it with composer require canducci/laravel-dompdf-helpers.
Discover more Laravel packages by canducci
or browse all Laravel packages to compare alternatives.
Last updated
First go to the website barryvdh/laravel-dompdf and configure the package before this installation. Then do these procedures:
composer require canducci/laravel-dompdf-helpers
$instance = printer();
$instance->loadView($view, $data);
$instance->download(); // or $instance->stream();
$instance = printer_view($view, $data);
$instance->stream(); // or $instance->download();
return printer_view_stream($view, $data); // or printer_view_download($view, $data);
$instance = printer_file($path);
$instance->stream(); // or $instance->download();
return printer_file_stream($path); // or printer_file_download($path);
$instance = printer_html($path);
$instance->stream(); // or $instance->download();
return printer_html_stream($path); // or printer_html_download($path);