feat: update AWS S3 configuration to include visibility settings and retain visibility option

This commit is contained in:
2026-07-21 10:29:34 -03:00
parent 29a2ca19a3
commit 0f36c3402b
3 changed files with 12 additions and 11 deletions

View File

@@ -10,7 +10,7 @@
"laravel/framework": "^13.8", "laravel/framework": "^13.8",
"laravel/sanctum": "^4.3", "laravel/sanctum": "^4.3",
"laravel/tinker": "^3.0", "laravel/tinker": "^3.0",
"league/flysystem-aws-s3-v3": "3.0" "league/flysystem-aws-s3-v3": "^3.0"
}, },
"require-dev": { "require-dev": {
"fakerphp/faker": "^1.23", "fakerphp/faker": "^1.23",

19
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "08dac456d84023cd816d5c96086a3b3c", "content-hash": "15f02d79a83b338e4181fb79dcd0a600",
"packages": [ "packages": [
{ {
"name": "aws/aws-crt-php", "name": "aws/aws-crt-php",
@@ -1958,21 +1958,21 @@
}, },
{ {
"name": "league/flysystem-aws-s3-v3", "name": "league/flysystem-aws-s3-v3",
"version": "3.0.0", "version": "3.35.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/flysystem-aws-s3-v3.git", "url": "https://github.com/thephpleague/flysystem-aws-s3-v3.git",
"reference": "f8ba6a92a5c1fdcbdd89dede009a1e6e1b93ba8c" "reference": "8475ef9adfc6498b85469e2abec6fe3118cd08c4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/f8ba6a92a5c1fdcbdd89dede009a1e6e1b93ba8c", "url": "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/8475ef9adfc6498b85469e2abec6fe3118cd08c4",
"reference": "f8ba6a92a5c1fdcbdd89dede009a1e6e1b93ba8c", "reference": "8475ef9adfc6498b85469e2abec6fe3118cd08c4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"aws/aws-sdk-php": "^3.132.4", "aws/aws-sdk-php": "^3.371.5",
"league/flysystem": "^2.0.0 || ^3.0.0", "league/flysystem": "^3.10.0",
"league/mime-type-detection": "^1.0.0", "league/mime-type-detection": "^1.0.0",
"php": "^8.0.2" "php": "^8.0.2"
}, },
@@ -2007,10 +2007,9 @@
"storage" "storage"
], ],
"support": { "support": {
"issues": "https://github.com/thephpleague/flysystem-aws-s3-v3/issues", "source": "https://github.com/thephpleague/flysystem-aws-s3-v3/tree/3.35.2"
"source": "https://github.com/thephpleague/flysystem-aws-s3-v3/tree/3.0.0"
}, },
"time": "2022-01-13T21:11:49+00:00" "time": "2026-07-01T23:25:49+00:00"
}, },
{ {
"name": "league/flysystem-local", "name": "league/flysystem-local",

View File

@@ -54,6 +54,8 @@ return [
'region' => env('AWS_DEFAULT_REGION'), 'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'), 'bucket' => env('AWS_BUCKET'),
'url' => env('AWS_URL'), 'url' => env('AWS_URL'),
'visibility' => 'private',
'retain_visibility' => false,
'endpoint' => env('AWS_ENDPOINT'), 'endpoint' => env('AWS_ENDPOINT'),
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false), 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
'http' => [ 'http' => [