We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
To use:
Route::download('/download', $filePath, $name, $headers);
Using Callback
Route::download('/download', function () { return $filePath; }), $name, $headers);