Download files in laravel using Response::download
Try this. public function getDownload() { //PDF file is stored under project/public/download/info.pdf $file= public_path(). “/download/info.pdf”; $headers = array( ‘Content-Type: application/pdf’, ); return Response::download($file, ‘filename.pdf’, $headers); } “./download/info.pdf”will not work as you have to give full physical path. Update 20/05/2016 Laravel 5, 5.1, 5.2 or 5.* users can use the following method instead of Response facade. … Read more