I just installed Intervention Image Class following instructions from here: http://image.intervention.io/getting_started/installation
I also added these 2 lines into config/app.php file:
'InterventionImageImageServiceProvider'
'Image' => 'InterventionImageFacadesImage'
When I open my website, i get this error:
Class 'InterventionImageImageServiceProvider' not found
Why is that and what should I do now?
Step 1:
Add
"intervention/image": "dev-master"
to the “require” section of yourcomposer.json
file.Step 2:
If you've got this warning:
do
$ composer update
and then$ composer install
Step 3:
open the
config/app.php
file. Add this to the$providers
array.Step 4:
Next add this to the
$aliases
array.Step 5:
If there is an error;
try