From pineco.de this tutorial about how to use laravel-dompdf, to generete a PDF in Laravel
PDF generation is a core feature when our app contains invoicing or services that require a downloadable version of an information schema. Like in many other situations, a simple solution would do it instead of a full-featured package. Let’s see how to render PDFs easily.