claviska/simpleimage
SimpleImage is a lightweight PHP 8+ GD image manipulation class. Load images from files/strings/URIs, auto-orient via EXIF, resize/crop/overlay/watermark, draw shapes/text, apply filters, and convert between GIF/JPEG/PNG/WEBP/BMP/AVIF. Chainable, exception-based.
reset() simplifies maintenance for teams migrating to newer PHP versions.Adopt if:
Look elsewhere if:
reset() method and cannot refactor immediately, as it will be removed in future versions.For Executives: "This package lets us ship image-heavy features (e.g., product thumbnails, user avatars) 3x faster with minimal dev overhead. By leveraging a maintained, MIT-licensed library, we avoid reinventing the wheel while keeping costs low—ideal for scaling visual tools without hiring specialized talent. The latest update aligns with PHP 8.5+, ensuring we’re future-proofed for long-term compatibility. Think of it as ‘Turbo Mode’ for Laravel image processing with built-in modernization."
For Engineering:
*"SimpleImage abstracts GD’s complexity into a clean API (e.g., $image->resize(300, 200)). It’s lightweight (~1MB), actively maintained, and integrates seamlessly with Laravel’s storage system. The 4.4.0 release deprecates the outdated reset() method (relying on PHP’s deprecated imagedestroy()), which is a good housekeeping step for PHP 8.5+ compatibility. Perfect for:
SimpleImage::reset() usage and plan for removal in future updates."*How can I help you explore Laravel packages today?