About this project
Intervention Image is a PHP image processing library that offers a simple, expressive way to create, edit and compose images. It provides a universal interface over popular PHP image manipulation extensions, letting developers choose GD, Imagick or libvips as the underlying driver for all operations.
Key characteristics described in the README:
- Fluent interface for common image editing tasks
- Interchangeable driver architecture supporting GD, Imagick and libvips
- Support for animated images across all drivers
- Framework-agnostic design
Installation is done through Composer with the command `composer require intervention/image`. The README points to official documentation for basics such as instantiation.
The included code example shows creating an ImageManager with a chosen driver, decoding an image from a path, scaling it by height, inserting a watermark aligned to the bottom right, encoding to JPEG at a given quality, and saving the result.
Requirements listed are PHP 8.3 or higher, the Mbstring PHP extension, and an image processing extension (GD, Imagick or libvips). The library is developed and maintained by Oliver Vogel, with contributions from the community, and is released under the MIT License. Security issues can be reported by email.
Comments
0 people shared their preference · Deer Point appears after 10 participants
Sign in to join the discussion.