Answers for "laravel 7 upload file s3"

PHP
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 7 upload file s3

$path = $request->file('image')->store('images', 's3');
Posted by: Guest on August-04-2020

Browse Popular Code Answers by Language