intervention/image-laravel
Laravel integration for Intervention Image. Adds a service provider, facade, and publishable config for app-wide image settings (GD or Imagick). Install via Composer and manage image processing consistently across your Laravel app.
4.0.0 to support new Intervention Image v4.0.0Full Changelog: https://github.com/Intervention/image-laravel/compare/1.5.7...1.5.8
Full Changelog: https://github.com/Intervention/image-laravel/compare/1.5.6...1.5.7
Full Changelog: https://github.com/Intervention/image-laravel/compare/1.5.5...1.5.6
ImageResponseFactory::classFull Changelog: https://github.com/Intervention/image-laravel/compare/1.5.3...1.5.4
Full Changelog: https://github.com/Intervention/image-laravel/compare/1.5.1...1.5.2
The package now includes a Laravel response macro that can be used to elegantly encode image resources and convert it to an HTTP response in a single step.
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Facades\Storage;
use Intervention\Image\Format;
use Intervention\Image\Laravel\Facades\Image;
Route::get('/', function () {
$image = Image::read(Storage::get('example.jpg'))
->scale(height: 300);
return response()->image($image, Format::WEBP, quality: 65);
});
Full Changelog: https://github.com/Intervention/image-laravel/compare/1.4.0...1.5.0
The package now includes a Laravel response macro that can be used to elegantly encode image resources and convert it to an HTTP response in a single step.
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Facades\Storage;
use Intervention\Image\Format;
use Intervention\Image\Laravel\Facades\Image;
Route::get('/', function () {
$image = Image::read(Storage::get('example.jpg'))
->scale(height: 300);
return response()->image($image, Format::WEBP, quality: 65);
});
Full Changelog: https://github.com/Intervention/image-laravel/compare/1.4.0...1.5.0
Full Changelog: https://github.com/Intervention/image-laravel/compare/1.3.0...1.4.0
How can I help you explore Laravel packages today?