Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

storePublicly laravel with name

$path = $request->file('avatar')->storePublicly('avatars', 's3');

$path = $request->file('avatar')->storePubliclyAs(
    'avatars',
    $request->user()->id,
    's3'
);
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #storePublicly #laravel
ADD COMMENT
Topic
Name
9+3 =