n5s/local-bin-spatie-image-optimizer
local-bin-spatie-optimizer
Configure spatie/image-optimizer to use local-bin-* binaries.
Install
composer require n5s/local-bin-spatie-image-optimizer
Usage
Pass your Spatie\ImageOptimizer\OptimizerChain through OptimizerChainLocalizer::localize so that all supported optimizers are configured to use the local binary paths.
use n5s\LocalBin\Integration\SpatieImageOptimizer\OptimizerChainLocalizer;
use Spatie\ImageOptimizer\OptimizerChainFactory;
$optimizerChain = OptimizerChainLocalizer::localize(OptimizerChainFactory::create());
Related Packages
bellows-app/plugin-inertia-server-side-rendering
Bellows plugin for integrating Inertia SSR into your app.
4
1
socialengine/sniffer-rules
A Lumen 5 and Laravel 5 SquizLabs Code Sniffer 2.0 artisan command. Detect viola...
48,320
12
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| 1.1.3 | ^8.1 | MIT | |
| 1.1.2 | ^8.1 | MIT | |
| 1.1.1 | ^8.1 | MIT | |
| 1.1.0 | ^8.1 | MIT | |
| 1.0.0 | ^8.1 | MIT |