What problem does it solve?
Streamline Laravel application integrations with AWS S3 by abstracting the file handling complexity using Flysystem.
Core Features & Use Cases
- File Uploads: Automate the uploading of files to S3, specifying whether files are publicly or privately accessible.
- Signed URLs: Generate temporary URLs for sensitive files to ensure security when distributing files to authenticated users.
- Storage Management: Efficiently handle storage facade usage and configure S3 buckets for direct uploads via web browsers or browser plugins.
- Use Case: Enhance a Laravel e-commerce application to manage product images in an S3 bucket while enabling customers to directly upload and share their product photos via the website.
Quick Start
To configure file storage on your S3 account, add the s3 driver to your Laravel filesystem configuration in the 'config/filesystems.php' file, using the following command:
php artisan config:cache
Or manually run:
use Illuminate\Support\Facades\Artisan;
Artisan::call('config:cache');