Level 1
Hi @dev_nope , i'm facing the same issue except I'm using Bref. Did you end up solving it?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hey everyone, did any of run into the issue where Storage::disk('s3')->put() would fail silently? It basically returns false. Here's some info:
league/flysystem-aws-s3-v3
\Aws\S3\S3Client directly to upload a local file and that worked just fine:$s3Client = new \Aws\S3\S3Client([
'region' => env('AWS_DEFAULT_REGION'),
'version' => 'latest',
'debug' => true,
'credentials' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
]
]);
$result = $s3Client->putObject([
'Bucket' => env('AWS_BUCKET'),
'Key' => 'test.jpg',
'SourceFile' => storage_path('app/test.jpg'),
]);
dd($result->get('ObjectURL')); // outputs the uploaded file URL
Storage::disk('s3')->exists('test.jpg') and that returns true, which makes me think that I can successfully connect to S3.Please or to participate in this conversation.