dimanche 12 novembre 2017

Any time I run `php artisan` after uninstalling a package and updating composer, throws error its ServiceProvider is not found?

See here:

vagrant@laravel:~/code$ php artisan

  [Symfony\Component\Debug\Exception\FatalThrowableError]
  Class 'Maatwebsite\Excel\ExcelServiceProvider' not found

I deleted the directory in /vendor, removed it from composer and removed its service provider and alias in /config/app.php. Then I ran composer update --no-scripts and everything looked ok. If I run it again I get

Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating optimized autoload files

What happened? What do I do now? WHY is it requiring that still?? Thank you.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2hvj3oB
via IFTTT

Aucun commentaire:

Enregistrer un commentaire