Skip to content
Advertisement

Tag: flysystem

Laravel can’t connect to AWS S3

I have set up an S3 bucket and created an IAM user with full S3 access permission, and ran composer require league/flysystem-aws-s3-v3. I have also have configured the following in .env: The problem is that I can’t interact with S3 at all from my controller. I’ve tried sending files to S3: I have also manually uploaded an image to S3,

How to get file URL using Storage facade in laravel 5?

I’ve been experimenting using the new Flysystem integration with Laravel 5. I am storing ‘localised’ paths to the DB, and getting the Storage facade to complete the path. For example I store screenshots/1.jpg and using or I can retrieve the same file on different disks. get retrieves the file contents, but I am hoping to use it in my views

Advertisement