Laravel -Dateispeicher
$fileName = $file->storePublicly('images/media', [
'disk' => 's3'
]);
Qurban Ali
$fileName = $file->storePublicly('images/media', [
'disk' => 's3'
]);
$path = $request->file('avatar')->store(
'avatars', 'public'
);
$exists = Storage::disk('s3')->exists('file.jpg');