In my code, I am returning a zip file as a streamed response:
return response()->stream(function() use ($zip){
$zip->finish();
});
I would like to also return a status message saying "Your zip download has started" along with the response, but I can't find a way of doing it properly in Laravel.
I am using Laravel 5.2
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2DY0HWP
via IFTTT
Aucun commentaire:
Enregistrer un commentaire