use IlluminateSupportFacadesStorage;
$file_upload = Storage::disk('s3')->put('/folder_name', $request->file);
//must have in .env
AWS_ACCESS_KEY_ID=access_key
AWS_SECRET_ACCESS_KEY=secret_key
AWS_DEFAULT_REGION=region
AWS_BUCKET=bucket_name
AWS_USE_PATH_STYLE_ENDPOINT=false