问题
I am facing fatal errors regarding Artisan. I think I couldn't install laravel complete due to slow internet. Now I want to remove Laravel from root and want to have fresh installation. Can anyone help me?
回答1:
if you have installed it globally you can simply remove it by composer global remove laravel/installer
If you have installed it via composer project you simply remove the directory.
回答2:
Since I was looking all around how to uninstall packages and after reading tones of documentations here's the short how-to uninstall a workbench package in Laravel
Remove package service provider from 'providers' array in app/config/app.php
Remove the package folder in workbench/
Run:
php composer.phar dump-autoload
php artisan clear-compiled
php artisan optimize
(optional) remove all related code using the package (you'll get errors about that)
or use composer global remove laravel/installer
回答3:
For me, the command that actually did the trick was: composer global remove laravel/installer
来源:https://stackoverflow.com/questions/45397433/how-to-uninstall-laravel