laravel get File object from s3 storage code example
Example 1: laravel get file contents from storage
$contents = Storage::disk('local')->get('file.txt');
Example 2: laravel storage get file path
use Illuminate\Support\Facades\Storage;
$path = Storage::path('file.jpg');
Example 3: use s3 storage laravel
return Storage::disk('s3')->response('images/' . $image->filename);