{"repo":"spatie/laravel-image-optimizer","free":true,"listed":false,"github":"https://github.com/spatie/laravel-image-optimizer","clone":"git clone https://github.com/spatie/laravel-image-optimizer.git","description":"Optimize images in your Laravel app","language":"PHP","stars":1309,"topics":["laravel","php","image","optimize","performance"],"license":"MIT","category":"media-processing","readme_excerpt":"Optimize images in your Laravel app This package is the Laravel 6.0 and up specific integration of spatie/image-optimizer. It can optimize PNGs, JPGs, SVGs and GIFs by running them through a chain of various image optimization tools. The package will automatically detect which optimization binaries are installed on your system and use them. Here's how you can use it: You don't like facades you say? No problem! Just resolve a configured instance of Spatie\\ImageOptimizer\\OptimizerChain out of the container: The package also contains a middleware to automatically optimize all images in an request. Don't use Laravel you say? No problem! Just use the underlying spatie/image-optimizer directly. Support us We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall. Installation You can install the package via composer: The package will automatically register itself. The package uses a bunch of binaries to optimize images. To learn which ones on how to install them, head over to the optimization tools section in the readme of the underlying image-optimizer package. That readme also contains info on what these tools will do to your images. The package comes with some sane defaults to optimi","default_branch":null,"files":null,"tree":[],"storefront":"/r/spatie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spatie/laravel-image-optimizer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}