maybe you can use file_get_contents($image) with base64_encode
$products - must be collection then {!! Form::select('product', $products->pluck('name','id')) !!...
VSCode - is`t not an IDE, its text editor. But with good plugins - Beatify, Laravel Artisan, Laravel...
For me, a good solution is to generate pdfs with https://github.com/barryvdh/laravel-dompdf is easy...
The Laravel portal for problem solving, knowledge sharing and community building.
The community