Forked from itsmikita/uninstall-laravel-workbench-package
Last active
August 29, 2015 14:08
-
-
Save samcrosoft/9c37b0f7eb75ba8e9b13 to your computer and use it in GitHub Desktop.
Revisions
-
itsmikita revised this gist
Sep 19, 2013 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,6 @@ 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 (or how I managed it to work out): 1. Remove package service provider from 'providers' array in app/config/app.php -
itsmikita created this gist
Sep 19, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ 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 (or how I worked it out): 1. Remove package service provider from 'providers' array in app/config/app.php 2. Remove the package folder in workbench/ 3. Run: php composer.phar dump-autoload php artisan clear-compiled php artisan optimize 4. (optional) remove all related code using the package (you'll get errors about that) Not sure will work for everyone. I got some other errors but use it as a clue (: