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?
-
Delete the `vendor` directory and then run `composer install`. However artisan fatal errors are not always caused by laravel itself but by your own app's code so it would be useful to provide more detail. – apokryfos Jul 30 '17 at 11:05
4 Answers
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.

- 253
- 5
- 11

- 15,207
- 5
- 46
- 66
-
6For me, the command that actually did the trick was: `composer global remove laravel/installer`. – Fran Cano Jul 03 '18 at 22:49
-
1For me, the command that actually did the trick was: `composer global remove laravel/installer` – AbdulAhmad Matin Jul 15 '18 at 11:53
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

- 12,190
- 6
- 97
- 81
For me, the command that actually did the trick was: composer global remove laravel/installer

- 1,047
- 1
- 18
- 27
if you have installed it globally you can simply remove it by running this command: composer global remove laravel/installer

- 1