Closed amowogbaje closed 7 months ago
See #1279
Not applicable for Laravel 9.52 because it requires illuminate/support ^10.0
I also faced the same issue. Comment intervention from your provider class and aliases. Use it directly in your laravel app instead.
You can initialize Image Intervention with this line:
$manager = new \Intervention\Image\ImageManager(
new \Intervention\Image\Drivers\Gd\Driver()
);
$image = $manager->read($imageFile);
I finally used jpegoptim instead of intervention/image and it works perfectly.
Okay then but then just in case you would be handling more than jpeg files you can always use the code I pasted to initialize
Describe the bug I did composer require intervention/image then when I reloaded my page it brought up the ImageServiceProvider not found error all these is happening in config/app in my laravel app. how do I resolve this
Environment :