Laravel: S3

Laravel 9

Run composer require -W league/flysystem-aws-s3-v3 "^3.0"

to view configuration, you can open

Open FILESYSTEM_DISK=s3 // if you want set s3 as default filesystem AWS_ENDPOINT=https://is3.cloudhost.id // optional, isi jika pake selain amazon aws AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_DEFAULT_REGION=us-east-1 AWS_BUCKET= AWS_USE_PATH_STYLE_ENDPOINT=false