spatie/laravel-image-optimizer
The package wires spatie/image-optimizer into Laravel so images can be optimized through a facade, a resolved OptimizerChain or a middleware that handles images in a request. It runs files through a chain of optimization binaries, detects which tools are installed on the machine and replaces the original with a smaller version. PNG, JPG, SVG and GIF are supported, and it requires Laravel 6.0 or newer.
Maintenance activity