github Intervention/image 4.0.0

6 hours ago

Intervention Image v4.0.0 🔥

Intervention Image Version 4 is a major release for PHP 8.3+ that focuses on improving the API and resolving internal inconsistencies rather than introducing as many new features as possible.

The package remains true to its core principles and continues to offer the familiar quality features like:

  • Fluent API for common image editing tasks
  • Interchangable driver architecture for all popular PHP image processing extensions
  • Support for GD, Imagick and libvips
  • Processing of animated images with all drivers

What is new?

Improved API

The entire API underwent a thorough review. The goal was to identify and resolve internal inconsistencies, ensure greater future-proofing and scalability, and further improve consistency.

Read more about the API improvements

Exception Hierarchy and more detailed Error Messages

At the same time, error and exception messages have been improved to provide clear, immediate insight into what went wrong. These improvements include a restructured exception system with a well-defined hierarchy.

Read more about exceptions

Other Improvements

Other new features include an improved color system with alpha channels for all color spaces, support for Oklab and Oklch color spaces, the use of PHP enums, and many other small improvements.

https://image.intervention.io/v4

Don't miss a new image release

NewReleases is sending notifications on new releases.