I have a problem with intervention/image
that is driving me crazy.
I'm using Laravel 7.* , following this, with composer require intervention/image
I've installed this package. However when I have to add
Intervention\Image\ImageServiceProvider::class
,
and
'Image' => Intervention\Image\Facades\Image::class
,
in $providers
and $aliases
(in app.php
arrays) the compiler keep telling me:
Undefined type Intervention\Image\ImageServiceProvider::class
In another istance of a project (same laravel version) the package worked perfectly. Am I missing something?