aferrandini/image-bundle
Laravel bundle for handling images: upload, resize, crop, cache and optimize with a simple configuration-driven workflow. Includes storage integration and helper utilities for generating thumbnails and responsive variants in your app.
ContainerAware traits, EventDispatcher).{{ image_filter }}).symfony/framework-bundle, liip/imagine-bundle) may conflict with Laravel’s Composer packages. Isolation via a micro-service or containerized environment could mitigate this.Imagine library) may expose the system to CVEs.spatie/image-optimizer, intervention/image) offer better performance and features.ParameterBag, Templating) may require upskilling or hiring.spatie/image or Laravel’s Intervention wrapper?/images/{hash} vs. Symfony’s FOSJsRouting)?ImageResizerFacade) and delegates to a Symfony2 micro-service (via Docker or subdirectory install).Imagine usage) into a Composer-agnostic library and integrate via Laravel’s service provider./api/resize) for Laravel to consume.replace or conflict to block Symfony2 packages from polluting Laravel’s autoloader.GD/Imagick calls, other libraries).app/Services/ImageService.php) that calls the bundle’s classes via reflection or direct method invocation.@image('path', 'thumb')).spatie/image) as a backup.ServiceProvider::boot() or Event::listen().Route::get('/images/{path}', ...) with middleware to parse paths.@imageResize).Storage class to support Laravel’s FilesystemManager (e.g., S3, local).$storage = new LaravelFilesystemAdapter(storage_path('app/public'));
$resizer = new \Aferrandini\ImageBundle\Resizer($storage);
config.yml to Laravel’s config/image.php with a service provider to bind the bundle’s services.| Step | Task | Dependencies | Owner |
|---|---|---|---|
| 1 | Evaluate alternatives (e.g., spatie/image) |
- | TPM/Dev Lead |
| 2 | Set up Symfony2 environment (Docker/VM) | - | DevOps |
| 3 | Create Laravel wrapper service | Symfony2 env | Backend Dev |
| 4 | Test core features (resize, filter) | Wrapper | QA |
| 5 | Migrate templates (Twig → Blade) | Wrapper | Frontend Dev |
| 6 | Optimize storage (S3/local) | Wrapper | Backend Dev |
| 7 | Benchmark performance | All | Dev Lead |
| 8 | Document fallback plan | All | TPM |
spatie/image) within 12–18 months.intervention/image) for critical paths.Imagick (lower memory than GD) or offload to a worker service.How can I help you explore Laravel packages today?