Hi I have problem with Intervention Image. When I use composer update
or
php artisan vendor:publish --provider="Intervention\Image\ImageServiceProviderLaravel5"
I have error:
[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'Intervention\Image\ImageServiceProvider' not found**
Have you idea? I did everything from http://image.intervention.io/getting_started/installation and I don't know what should I do now, please help me :)
Have you followed installation guide carefully ?
You need to first run:
composer require intervention/image
and you should modify config.app.php
after you already install this package (so after composer require
) and not before.
I solved by running
php artisan config:clear
than:
php artisan vendor:publish --provider="Intervention\Image\ImageServiceProviderLaravel5"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With