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
|
Multitrust with Single-auth\Default-auth
composer
|
Service Providers
Add the package to your application service providers in config/app.php
file.
- Add this inside providers[] array
|
Config clear
Sometimes you will faceing config published but not added your appliaction config folder .
|
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 runphp artisan migrate
- Multitrust Package successfuly setup. Now follow how implements this package.
Powered by:
@code4mk