- After cloning this repository, go to the root folder, run the following command/s,
composer install composer update - Rename .env.example to .env and provide your database details there.
- It needs a database table to store registered users. Run
php artisan migrateto import the tables. - Run
php artisan key:generate
https://justlaravel.com/middleware-laravel-content-restriction-user-role/
https://www.youtube.com/watch?v=DkMmy-KRRTE&list=PLJKqSeQP_mlKUcBB8IC1LSWcIUYGldNuE
http://demos.justlaravel.com/middleware-laravel-content-restriction-user-role