Package Installation Process


Multitrust

Latest and powerful roles and permission for single and multi-auth both .you can easily setup this package . It’s has full-fill documentation.

Multitrust with multi-auth

composer

At first pull this by composer

composer require "code4mk/multitrust:dev-master"

Multitrust with Single-auth\Default-auth

composer

composer require "code4mk/multitrust": "1.0.x-dev"

Service Providers

Add the package to your application service providers in config/app.php file.

Code4mk\Multitrust\MultitrustServiceProvider::class,

Config clear

Sometimes you will faceing config published but not added your appliaction config folder .

php artisan config:clear

Config File And Migrations

It’s have config and migrations . run artisan command-

php artisan vendor:publish --provider="Code4mk\Multitrust\MultitrustServiceProvider" --tag=config

php artisan vendor:publish --provider="Code4mk\Multitrust\MultitrustServiceProvider" --tag=migrations

Migrate

Now you can see database\migrations\2017_06_12_093336_create_multitrust_table.php
Here has Multitrust all tables.

you can run

php artisan migrate