Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel 7 upload file s3

$image = Image::create([
    'filename' => basename($path),
    'url' => Storage::disk('s3')->url($path)
]);
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #laravel #upload #file
ADD COMMENT
Topic
Name
2+3 =