public function download(PDFDocument $pdf)
Below is a guide to setting up PDF generation using , the most common solution for Laravel. 1. Install the Package laravel pdfdrive
use GuzzleHttp\Client;