laravel storage hard link
snippet in php

laravel storage hard link

user7182

php artisan storage:link

laravel download file from s3

user2003

$attachment = TicketAttachment::find($id);
$headers = [
    'Content-Type'        => 'application/jpeg',
    'Content-Disposition' => 'attachment; filename="'. $attachment->name .'"',
];
return \Response::make(Storage::disk('s3')->get($attachment->url), 200, $headers);