- PHP >= v7.3
- Laravel >= 6.0
- Composer Dependency Manager v1.8.4 or greater
- Clone or fork the project on your machine.
https://github.com/usamamuneerchaudhary/roles-permissions.git - Install all dependencies by running the following command in project root directory
composer install - Rename
.env.exampleto.envby running the following commandmv .env.example .env - Configure DB settings in your
.envfile - Run
php artisan key:generateto generate application key. - Run DB migrations by
php artisan migrate - Congrats, you're all set up & ready to go.
- Run DB migrations with sample seeders
php artisan migrate --seedorphp artisan migrate:refresh --seed