Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel download file from public folder

$filePath = public_path("name_of_your_file.txt");
return Response::download($filePath);
Source by pbphpsolutions.com #
 
PREVIOUS NEXT
Tagged: #laravel #download #file #public #folder
ADD COMMENT
Topic
Name
6+1 =