{"repo":"joshembling/image-optimizer","free":true,"listed":false,"github":"https://github.com/joshembling/image-optimizer","clone":"git clone https://github.com/joshembling/image-optimizer.git","description":"🎨 Optimize your Filament images before they reach your database.","language":"PHP","stars":113,"topics":["filament","filament-plugin","filamentphp","image","laravel","optimization"],"license":"MIT","category":"databases-storage","readme_excerpt":"[!CAUTION] There are no plans to extend this plugin's lifetime beyond Filament v3. Please do not plan to use this in production if you are using or upgrading to Filament v4. Optimize your Filament images before they reach your database. When you currently upload an image using the native Filament component FileUpload , the original file is saved without any compression or conversion. Additionally, if you upload an image and use conversions with SpatieMediaLibraryFileUpload , the original file is saved with its corresponding versions provided on your model. What if you'd rather convert and reduce the image(s) before reaching your database/S3 bucket? Especially in the case where you know you'll never need to save the original image sizes the user has uploaded. 🤳 This is where Filament Image Optimizer comes in . You use the same components as you have been doing and have access to two additional methods for maximum optimization, saving you a lot of disk space in the process. 🎉 Contents - Contents - Installation - Usage - Optimizing Images - Resizing Images - Combining Methods - Multiple Images - Examples - Debugging - Changelog - Contributing - Security Vulnerabilities - Credits - Licence Installation You can install the package via composer, which currently works with the latest Filament version (^3.2) and Laravel 10, 11 & 12: If you are using Filament 3.0 or 3.1 install with: Usage Filament version You must be using Filament v3.x to have access to this plugin. For specific v","default_branch":null,"files":null,"tree":[],"storefront":"/r/joshembling","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/joshembling/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."}