Upgrade Guide
Upgrade from Intervention Image 2.x to 3.x
2.8M Downloads / Month
Open Source MIT License
2.8M Downloads / Month
Open Source MIT License
Learn how to quickly migrate from Intervention Image version 2 to version 3. See what new features are available and what changes have been made in the update.
Intervention Image 3 has been rewritten from the ground up with very little code carried over from the previous version. This means a more modern and sophisticated architecture and API that takes advantage of the modern features of PHP 8+. There are a few key features that further improve the library.
3.6
, but works differently and automatically removes border areas of the image with similar colorsThe caching library of Intervention Image 2 is not supported by the new version.
The service providers for the Laravel framework were removed to avoid a dependency to the framework and to highlight Intervention Image rather framework agnostic, which it always was. However, there is an official package for Laravel integration
It is no longer possible to create images from an URI directly. The data must first be loaded by a dedicated HTTP client and then passed to the image library. Intervention Image is not responsible for HTTP client operations.
It is no longer possible to pass color values as array.