Open sidebar
1. Installed Intervention/Image by cding over into the correct file (command below) C:\wamp\bin\php\php5.5.12>composer require intervention/image Using version ~2.0 for intervention/image ./composer.json has been created Loading composer repositories with package information Updating dependencies (including require-dev) - Installing intervention/image (2.0.16) Downloading: 100% intervention/image suggests installing ext-imagick (to use Imagick based image p rocessing.) intervention/image suggests installing intervention/imagecache (Caching extension for the Intervention Image library) Writing lock fileGenerating autoload files >>>>>> 2. I then followed the below Intervention/Image Laravel 4 installation guidelines http://image.intervention.io/getting_started/installation#laravel >>>>>> 3. I then got this error message "Class 'Intervention\Image\ImageServiceProvider' not found" >>>>>> 4. I then ran a composer dump-autoload command on the root of my app (root-> C:\wamp\www\laravel\register) Within 10 seconds I got "Generating autoload files" >>>>>> 5. I'm still getting the error message "Class 'Intervention\Image\ImageServiceProvider' not found" >>>>>> 6. I then ran a composer update --no-scripts command on the root of my app (root-> C:\wamp\www\laravel\register). The files were succussfully created but I'm still getting the error message. >>>>>> 7. I then went back to my workbench directory of the verify package (C:\wamp\bin\php\php5.5.12) and ran a composer dump-autoload Within 10 seconds I got "Generating autoload files" >>>>>> 8. I then went back to the root directory of my app (C:\wamp\www\laravel\register) and ran a php artisan dump-autload command and I got this error message C:\wamp\www\laravel\register>php artisan dump-autoload {"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","me ssage":"Class 'Intervention\\Image\\ImageServiceProvider' not found","file":"C:\ \wamp\\www\\laravel\\register\\vendor\\laravel\\framework\\src\\Illuminate\\Foun dation\\ProviderRepository.php","line":157}} >>>>>> 9. So I ran a composer dump-autoload command on the root directory of my app and got the below response. Within 10 seconds I got "Generating autoload files" >>>>>> My question is, what am I doing wrong? How do I fix this problem?
Close sidebar
Back
Please note that all pasted data is publicly available.
Twitter
GitHub
Use setting
Back
Please note that all pasted data is publicly available.
Twitter
GitHub
Use setting