Using S3
Various tips for working with S3 storage from your Laravel application
Livewire File Uploads Using S3
Content in folders
'pdfs' => [
'driver' => 's3',
'root' => env('APP_NAME') . '/pdfs',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => 'mybucket',
'visibility' => 'public',
],Storage::disk('pdfs')->put('hello.txt','hello');Last updated