Imagine
Intervention Image
Our great sponsors
Imagine | Intervention Image | |
---|---|---|
1 | 8 | |
4,390 | 13,683 | |
0.0% | 0.4% | |
4.2 | 9.8 | |
2 months ago | 1 day ago | |
PHP | PHP | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Imagine
-
Is there a modern OOP image processing lib for PHP?
The best thing we've found so far is avalanche123/Imagine but its pretty much outdated and abandoned.
Intervention Image
-
The Spatie Media Vulnerability
If still not confident you can still with other packages for images, such intervention https://github.com/Intervention/image
-
File Previews in Modals?
Not sure of any package that handles that specific use case perse. But if you're thinking of showing a preview, and don't want to load the original file, take a look at an image handling library like intervention
-
How to add support for HEIC images with ImageMagick in PHP
Apple released a new image format called HEIC/HEIF, and it broke many apps that handle image processing. The PHP library Intervention Image caught up to it and added support for the new image format, but somehow, it isn't working at the time of this writing. So we had to come up with a solution.
-
ImageMagick (6.9) vs GD (2.2) on PHP 7.4 (in 2021): Pros & Cons in terms of Security, Performance, and Color Profile Support
Glide is actually built on top of Intervention so I'd start looking there. If Intervention has what you need but Glide doesn't, you can probably write your own custom manipulation.
- Is there a modern OOP image processing lib for PHP?
-
Alternative to the Intervention Image package for PHP8?
The Intervention Image package is incredibly powerful, however it hasn't been updated since early November 2020 and has open PRs for PHP 8 support for several months, with no response from any collaborators.
-
PHP easy image cropping?
If you use Composer I suggest this package: https://image.intervention.io/, it has a sleek API for cropping and resizing.
-
Most Useful GitHub repositories for Laravel
Intervention Image is a PHP image handling and manipulation library providing an easier and expressive way to create, edit, and compose images. The package includes ServiceProviders and Facades for easy Laravel integration.
What are some alternatives?
Glide - Wonderfully easy on-demand image manipulation library with an HTTP based API.
Image Optimizer - Image optimization / compression library. This library is able to optimize png, jpg and gif files in very easy and handy way. It uses optipng, pngquant, pngcrush, pngout, gifsicle, jpegoptim and jpegtran tools.
PHP Image Workshop - ImageWorkshop is a PHP5.3+ library that helps you to manage images based on GD library
Image Hash - 🌄 Perceptual image hashing for PHP
image - Manipulate images with an expressive API
GIF Frame Extractor - GifFrameExtractor is a PHP class that separates all the frames (and their duration) of an animated GIF
ImageMagick - 🧙♂️ ImageMagick 7
php_opencv - php-ffi experiment php-opencv
sharp - High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.