storePublicly laravel with name

101

storePublicly laravel with name -

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

$path = $request->file('avatar')->storePubliclyAs(
    'avatars',
    $request->user()->id,
    's3'
);

Comments

Submit
0 Comments