I try to install intervention/imagefrom the composer, but after installation I get this error:
Class 'Image' not found
1: install through composer:
composer require intervention/image
2: add to the array of providers:
'Intervention\Image\ImageServiceProvider'
3: add to the array of aliases:
'Image' => 'Intervention\Image\Facades\Image'
4: update composer:
composer update
5: publish:
php artisan vendor:publish --provider="Intervention\Image\ImageServiceProviderLaravel5"
public result:
Nothing to publish for tag [].
6: autoload:
composer dump-autoload
user4790312
source
share