spatie/image-optimizer
Optimize PNG, JPG, WEBP, AVIF, SVG and GIF images in PHP by running them through a chain of tools like JpegOptim, Optipng, Pngquant and SVGO. It auto-detects installed binaries and overwrites files in place with smaller versions.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-image-optimizer | 0.91 | Laravel integration for spatie/image-optimizer. Optimize PNG, JPG, SVG, and GIF files by running them through available system binaries. Use the ImageOptimizer facade, resolve an OptimizerChain from the container, or apply middleware to optimize uploads automatically. | 1,307 | 1,318 | 116 | 357K | 0 | 24.1 | 35.4 | MIT | 8 months ago | |
| spatie/image | 0.90 | spatie/image provides an expressive, chainable PHP API for common image manipulation. Resize to fit a bounding box without altering aspect ratio, apply greyscale, adjust brightness and quality, rotate, sharpen, and save or overwrite images in just a few lines. Ideal for Laravel and PHP apps. | 1,367 | 1,389 | 143 | 4M | 0 | 40.9 | 56.6 | MIT | 2 days ago | |
| kaliop/image-bundle | 0.89 | Kaliop ImageBundle is a Symfony bundle for managing and serving images, integrating with LiipImagineBundle to generate filtered variations and thumbnails. It provides image storage, upload handling, Twig helpers, and a simple API for cached image URLs and variations. | 0 | 0 | 1 | 237 | 0 | 13.7 | 36.7 | MIT | 4 months ago | |
| tempest/responsive-image | 0.88 | Generate responsive images in PHP and render the correct HTML. Define your source and public paths, create a factory, then output an img tag with a ready-made srcset of scaled sizes. Early work in progress, so expect changes. | 1 | 1 | 1 | 7K | 0 | 14.7 | 55.1 | MIT | 3 months ago | |
| 4rn0/statamic-image-optimizer | 0.87 | A Statamic addon that automatically optimizes images to reduce file sizes and improve site performance. It integrates with Statamic assets, helping you serve faster-loading, optimized images with minimal configuration and better Core Web Vitals. | 5 | — | 4 | — | 0 | 18.4 | — | — | 1 month ago | |
| spatie/statamic-responsive-images | 0.87 | Spatie's Responsive Images addon for Statamic CMS generates responsive image versions automatically, with a fieldtype for art direction and Glide presets driven by configurable breakpoints. | 115 | 115 | 34 | 8K | 0 | 20.7 | 27.6 | MIT | 6 months ago | |
| ps/image-optimizer | 0.87 | PHP library that shrinks JPEG, PNG, GIF, SVG, and WebP images by wrapping tools like jpegoptim, optipng, pngquant, gifsicle, svgo, and cwebp. Offers a simple API, optimizer chains, and smart format-based optimization for lossless or lossy compression. | 916 | 937 | 139 | 8K | 7 | 11.0 | 16.5 | MIT | — | |
| innomedio/sulu-image-optimizer-bundle | 0.86 | A Sulu CMS bundle for automatic image optimization—compresses and resizes uploaded media to cut file sizes and speed up page loads while preserving visual quality. Integrates with Sulu's media management so images are optimized without extra manual steps. | 2 | 2 | 1 | 87 | 0 | 6.1 | 16.6 | — | 4 months ago | |
| approached/laravel-image-optimizer | 0.86 | 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. | 153 | — | 31 | — | 3 | 2.4 | 0.4 | MIT | — | |
| bvtterfly/lio | 0.86 | Lio is a Laravel package by bvtterfly that provides a clean, Eloquent-friendly API with sensible defaults and minimal configuration, making it easy to integrate into existing Laravel applications and workflows. | 63 | — | 4 | — | 0 | 0.6 | 0.8 | MIT | 4 years ago | |
| marc1706/fast-image-size | 0.86 | Fast, dependency-free PHP library that reads image dimensions from file headers without loading the whole file, supporting JPEG, PNG, GIF, BMP, WebP, and more. A quick drop-in alternative to getimagesize for speed and low memory use. | 94 | 101 | 21 | 84K | 2 | 10.1 | 43.9 | MIT | 7 months ago | |
| shortpixel/shortpixel-php | 0.86 | Official PHP SDK for ShortPixel image optimization. Compress JPEG, PNG, GIF, WebP, AVIF and PDF files via the ShortPixel API using lossy, glossy or lossless modes, with bulk processing, CDN delivery and framework-agnostic support for any PHP app, including Laravel. | 36 | 37 | 10 | 7K | 0 | 18.0 | 36.6 | MIT | 1 month ago | |
| spatie/pdf-to-image | 0.86 | Convert PDF pages to images with this simple PHP class built on Imagick and Ghostscript. Save as jpg, jpeg, png, or webp, render any page, and check page counts. Requires PHP 8.2+. | 1,460 | 1,481 | 231 | 775K | 0 | 40.7 | 43.2 | MIT | 1 month ago | |
| rekalogika/file-image | 0.86 | Adds image support to rekalogika/file: image files are identified, validated, and can be resized or converted into derivatives such as thumbnails. Works with the file abstraction, so dimensions, MIME type, and metadata are available wherever files are used in your PHP app. | 1 | 1 | 0 | 185 | 0 | 0.0 | 27.2 | MIT | — | |
| filament/spatie-laravel-media-library-plugin | 0.85 | Filament Spatie Media Library Plugin integrates Spatie's media library with Filament forms, letting you upload and attach files to Eloquent models using collections, custom disks, and file upload options. | 32,424 | 185 | 4,240 | 935K | 7 | 62.8 | 30.5 | MIT | 3 days ago | |
| bagisto/image-cache | 0.85 | Bagisto Image Cache is a Laravel package that caches Bagisto storefront images, generating optimized cached versions of product and category images to speed up page loads and reduce repeated image processing. Configure cache storage, image sizes, and cleanup for faster, lighter stores. | 0 | 0 | 4 | 5K | 0 | 0.1 | 51.3 | MIT | — | |
| liip/imagine-bundle | 0.85 | — | 1,709 | 1,735 | 387 | 804K | 67 | 67.3 | 72.6 | MIT | 4 weeks ago | |
| 4rn0/statamic-v3-image-optimizer | 0.85 | 4rn0/statamic-v3-image-optimizer is a Statamic 3 addon that automatically optimizes uploaded image assets, reducing file sizes for faster page loads. Configure quality and optimization settings while keeping original files safe and management simple. | 5 | 5 | 4 | 63 | 0 | 18.5 | 17.0 | — | 1 month ago | |
| nwtn/php-respimg | 0.85 | nwtn/php-respimg is a PHP library for responsive image handling: generate resized image variants, build srcset and sizes markup, and serve appropriately sized images across devices with simple configuration for PHP applications. | 0 | 112 | — | 0 | — | 0.0 | — | — | — | |
| spatie/laravel-medialibrary | 0.85 | Associate files with Eloquent models via a simple API: add uploads or local paths to media collections, store them on any Laravel filesystem, and generate image manipulations for images and PDFs. Ideal for managing media in Laravel apps. | 6,174 | 6,240 | 1,096 | 4M | 2 | 72.7 | 45.9 | MIT | 1 week ago |
How can I help you explore Laravel packages today?