Snappy is a PHP library allowing thumbnails, snapshots, and PDF generation from a URL or HTML page. Barry vd. Heuvel is the author of a Laravel Snappy (which has been around since Laravel 5), making it even easier to integrate with Laravel: 1// Generate a PDF From a view 2$pdf = PDF::loadView('pdf.invoice', $data); 3$pdf->download('invoice.pdf');...
16 May, 2022
Organize Laravel Applications With Actions
Programing Coderfunda
May 16, 2022
Laravel, Packages
No comments
The Laravel actions package provides a new way to organize your Laravel applications’ logic by focusing on actions. Using this technique, you can execute the same class as a controller, a command, a job, and a listener.In v2, the package no longer extends an Action class but instead uses traits to provide helper methods...