Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Image Laravel Package

intervention/image

Intervention Image is a PHP image handling and manipulation library for Laravel and other frameworks. Create, resize, crop, encode, and optimize images with a simple fluent API, supporting GD and Imagick, plus drivers and integrations for common storage and HTTP workflows.

View on GitHub
Deep Wiki
Context7
4.0.0

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

3.11.7
  • Fix issue when trying to decode AVIF images without ISPE using GD decoders
3.11.6

What's Changed

  • Fix issue with relative paths to font files in different versions of GD library
3.11.5

What's Changed

  • Tested PHP 8.5 support
  • Fix issue with relative paths to font files in different versions of GD library

Full Changelog: https://github.com/Intervention/image/compare/3.11.4...3.11.5

3.11.4

What's Changed

Full Changelog: https://github.com/Intervention/image/compare/3.11.3...3.11.4

3.11.3

What's Changed

Full Changelog: https://github.com/Intervention/image/compare/3.11.2...3.11.3

3.11.2

What's Changed

  • Fix bug when saving EncodedImage::class multiple times in a row

Full Changelog: https://github.com/Intervention/image/compare/3.11.1...3.11.2

3.11.1

What's Changed

Full Changelog: https://github.com/Intervention/image/compare/3.11.0...3.11.1

3.10.2

What's Changed

Full Changelog: https://github.com/Intervention/image/compare/3.10.1...3.10.2

3.10.1

What's Changed

Full Changelog: https://github.com/Intervention/image/compare/3.10.0...3.10.1

3.10.0

What's Changed

Implementation of __debugInfo()

For Christmas🎄🎁, a small but nice feature: Implementation of __debugInfo() for various classes. Resulting in more informative debug information when objects of the classes are output via var_dump().

For example the following code:

$image = ImageManager::gd()->read($path);
$color = $image->pickColor(0, 0);

var_dump($image, $color);

results in:

object(Intervention\Image\Image)#44 (2) {
  ["width"]=>
  int(270)
  ["height"]=>
  int(168)
}
object(Intervention\Image\Colors\Rgb\Color)#9 (4) {
  ["red"]=>
  int(123)
  ["green"]=>
  int(165)
  ["blue"]=>
  int(157)
  ["alpha"]=>
  int(255)
}

Implementing Classes

  • Intervention\Image\Image
  • Intervention\Image\Origin
  • Intervention\Image\EncodedImage
  • Intervention\Image\Drivers\Gd\Frame
  • Intervention\Image\Drivers\Imagick\Frame
  • Intervention\Image\Geometry\Rectangle
  • Intervention\Image\Colors\Rgb\Color
  • Intervention\Image\Colors\Cmyk\Color
  • Intervention\Image\Colors\Hsl\Color
  • Intervention\Image\Colors\Hsv\Color
3.9.1
3.9.0

What's Changed

3.8.0

What's Changed

Full Changelog: https://github.com/Intervention/image/compare/3.7.2...3.8.0

3.7.2

What's Changed

  • Add non-standard JPEG mimetype image/x-jpeg by @dvlpp
  • Fix bug in encoding animated WEBP format by @phknot

Full Changelog: https://github.com/Intervention/image/compare/3.7.1...3.7.2

3.7.1

What's Changed

Full Changelog: https://github.com/Intervention/image/compare/3.7.0...3.7.1

3.7.0

What's Changed

Full Changelog: https://github.com/Intervention/image/compare/3.6.5...3.7.0

3.6.4

What's Changed

3.6.3

What's Changed

Full Changelog: https://github.com/Intervention/image/compare/3.6.2...3.6.3

3.6.2

What's Changed

Full Changelog: https://github.com/Intervention/image/compare/3.6.1...3.6.2

3.6.1

What's Changed

Full Changelog: https://github.com/Intervention/image/compare/3.6.0...3.6.1

3.6.0

What's Changed

Full Changelog: https://github.com/Intervention/image/compare/3.5.1...3.6.0

3.5.1

What's Changed

Full Changelog: https://github.com/Intervention/image/compare/3.5.0...3.5.1

3.5.0

What's Changed

Full Changelog: https://github.com/Intervention/image/compare/3.4.0...3.5.0

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport