Installs default set of users, roles and permissions for the Backpack for Laravel package
A simple setup process for Laravel Backpack
The setup script will add an Access Admin Panel permission and an Administrator role and will then prompt for an administrator user account.
Install using composer
composer require onethirtyone/backpacksetup
Laravel >5.5 there is nothing more you need to do
Laravel 5.4 The the following to your
... onethirtyone\backpacksetup\BackpackSetupServiceProvider::class ...
Publish the config file
php artisan vendor:publish
config\onethirtyone\backpacksetup.php to add default roles and permissions for setup.
Run the setup command
php artisan onethirtyone:backpack-setup