intervention/image-laravel
Laravel integration for Intervention Image that provides a service provider, facade, and publishable configuration file, letting you set the image driver and options once centrally instead of repeating them on every image manager call.
Architecture fit
ImageManager and ImageManagerInterface, and a response macro.ImageManagerInterface rather than calling the facade throughout the codebase.Integration feasibility
config/intervention-image.php, select GD/Imagick/Vips, and resolve the manager via DI or facade.gd, imagick, or vips) and image-processing knowledge; the package does not remove runtime dependency or memory concerns.Technical risk
intervention/image-laravel 4.1.0 renamed the facade binding from image to intervention.image and the config file from image.php to intervention-image.php. Any app using app('image'), facade aliases, or legacy config must verify behavior carefully.161 stars, 0 listed dependents), so external validation is limited. The package is official and maintained by the Intervention author, which mitigates but does not eliminate that risk.Key questions
intervention/image directly, a legacy config/image.php, or an image facade alias?Stack fit
ImageManagerInterface in controllers, services, and jobs. Reserve the Image facade for small scripts or legacy patterns, and standardize on intervention.image for container resolution.config/intervention-image.php; avoid per-call driver or option drift.Migration path
intervention/image-laravel, publish config, replace manual manager construction with container resolution, and migrate facade imports.config/image.php to config/intervention-image.php, replace app('image') with app('intervention.image'), and verify aliases and service-provider ordering.Compatibility
intervention/image-laravel to a tested minor version and lock the corresponding Intervention Image major version. Do not rely on floating constraints in production.Sequencing
ImageManagerInterface; update facade references and container keys.Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?