Voyager: uninstall process

Created on 6 Mar 2017  路  6Comments  路  Source: the-control-group/voyager

i would love to use your voyager package on a ongoing project.
but when i tried to install it, i got the error, that the post table already exists.

second trouble was the uninstall process, i saw quite a lot migrations and seed files, would love to see a uninstall task / process...

enhancement

Most helpful comment

+1
Need an uninstall.

All 6 comments

+1
Need an uninstall.

how we can uninstall voyager ?

Hare are the steps to remove voyager. I also installed the voyager front-end.

  1. composer remove pvtl/voyager-frontend

  2. composer remove tcg/voyager

  3. Remove these routes from web.php file
    Route::group(['prefix' => 'admin'], function () {
    Voyager::routes();
    });

  4. Remove the parent class from app/User.php file and extend it from "Authenticatable". Below is the example how the user.php file look like.

use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable

I believe you'll also wanna remove the hook repo from composer.json that gets added with Voyager:

        "hooks": {
            "type": "composer",
            "url": "https://larapack.io"
        }

This will be implemented in Version 2.0 馃憤 Adding it to the 2.0 planning project: https://github.com/the-control-group/voyager/projects/6

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

IvanBohonosiuk picture IvanBohonosiuk  路  4Comments

TXRRNT picture TXRRNT  路  3Comments

popica80 picture popica80  路  3Comments

winex01 picture winex01  路  3Comments

abacram picture abacram  路  3Comments