approached/laravel-image-optimizer
Laravel Image Optimizer automatically compresses uploaded images using configurable optimizers like JPEGoptim, OptiPNG, and SVGO. It integrates with Laravel storage and lets you define profiles for smaller, faster-loading images.
spatie/image-optimizer, Intervention Image, or a managed image CDN/service?ImageOptimizer contract or service so controllers and jobs do not call the package facade directly. This allows replacement with a maintained package or managed service without rewriting upload workflows. For legacy usage, contain it to the media pipeline and document an exit plan.TPM recommendation: Do not approve new strategic adoption. Leverage only as a short-term bridge or legacy containment component behind an internal abstraction, with a funded exit plan to a maintained package or managed image service. Gate continued use on a compatibility spike, observability, and a documented replacement timeline.
How can I help you explore Laravel packages today?