response 28 29 3emake laravel pdf

Solutions on MaxInterview for response 28 29 3emake laravel pdf by the best coders in the world

showing results for - "response 28 29 3emake laravel pdf"
Cressida
02 May 2020
1$filename = 'test.pdf';
2$path = storage_path($filename);
3
4return Response::make(file_get_contents($path), 200, [
5    'Content-Type' => 'application/pdf',
6    'Content-Disposition' => 'inline; filename="'.$filename.'"'
7]);
8