Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save samcrosoft/9c37b0f7eb75ba8e9b13 to your computer and use it in GitHub Desktop.

Select an option

Save samcrosoft/9c37b0f7eb75ba8e9b13 to your computer and use it in GitHub Desktop.

Revisions

  1. @itsmikita itsmikita revised this gist Sep 19, 2013. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion uninstall-laravel-workbench-package
    Original 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 worked it out):
    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. @itsmikita itsmikita created this gist Sep 19, 2013.
    15 changes: 15 additions & 0 deletions uninstall-laravel-workbench-package
    Original 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 (: