1tomany/storage-bundle
Symfony bundle for uploading files to remote storage (Amazon S3/R2, GCS, Azure) with a simple client-based config. Includes an Amazon S3-compatible client plus a mock client for fast, offline testing, and optional custom URLs for CDN/public buckets.
Storage facade calls with the bundle’s action interfaces.ClientInterface.https://cdn.yourdomain.com/... instead of S3’s default endpoints).FilesystemManager or Storage facade without wrappers.For Executives: *"This bundle replaces our messy file storage setup—currently a mix of direct AWS SDK calls, custom Google Cloud scripts, and local hacks—with a single, vendor-agnostic solution. Here’s why it’s a no-brainer:
For Engineering: *"This bundle gives us:
onetomany_storage.yaml) to rule them all—no more hardcoded AWS keys in services or facade overrides.custom_url in config).UploadActionInterface and bind it to Laravel’s container.
Tradeoffs:UploadActionInterface (3-day effort).Storage facade won’t work directly; we’ll create a thin wrapper (e.g., StorageAdapter).
Recommendation: Start with [Module Beta] (highest upload volume) to validate the approach before expanding to [Module Gamma]."*For Developers: *"No more:
Instead, you’ll get:
upload(), delete(), download()) via interfaces.// Before (messy)
Storage::disk('s3')->put('file.jpg', file_get_contents($path));
// After (clean)
$this->uploadAction->act(new UploadRequest($path, 'jpg', 'users/1/file.jpg'));
```"
How can I help you explore Laravel packages today?