i'm trying to install 'intervention/image` from composer, but after install that i get this error:
Class 'Image' not found
1: install via composer:
composer require intervention/image
2: add to providers array:
'Intervention\Image\ImageServiceProvider'
3: add to aliases array:
'Image' => 'Intervention\Image\Facades\Image'
4: upadte 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
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire