git clone https://github.com/mdutt247/laravel-multi-role-access.git
cd laravel-multi-role-access
composer install
- Rename or copy
.env.example
file to.env
php artisan key:generate
- Set your database credentials in
.env
file php artisan migrate:fresh --seed
npm install
npm run dev
php artisan serve
- Visit
localhost:8000/login
in your browser - User id for
admin
role:admin@gmail.com
and password:password
- User id for
author
role:author@gmail.com
and password:password
Twitter: kotagin E-mail: m.dutt@mditech.net Website: mditech.net