Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save samcrosoft/9c37b0f7eb75ba8e9b13 to your computer and use it in GitHub Desktop.
Save samcrosoft/9c37b0f7eb75ba8e9b13 to your computer and use it in GitHub Desktop.
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
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 (:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment