Answers for "laravel s3"

PHP
0

laravel s3 download file

return Storage::download('file.jpg');

return Storage::download('file.jpg', $name, $headers);
Posted by: Guest on August-05-2020
0

laravel 7 upload file s3

$image = Image::create([
    'filename' => basename($path),
    'url' => Storage::disk('s3')->url($path)
]);
Posted by: Guest on August-04-2020
0

laravel 7 upload file s3

return Storage::disk('s3')->response('images/' . $image->filename);
Posted by: Guest on August-04-2020
0

laravel filesystem

$exists = Storage::disk('s3')->exists('file.jpg');
Posted by: Guest on October-06-2020

Browse Popular Code Answers by Language