This is a Laravel 5.5 project with multiple User roles and permissions eg. Admin, Moderator, User etc. Watch the full videos of how this was built on Udemy
- Clone the project
- Create a database, then edit the contents of your
.env
file to match the database. - Run
php artisan migrate
in your command line - Signup a new user and and login
- To create the first admin,go to your database and create new
roles
in the roles table. Then change therole_id
of your first user to therole_id
of admin.
- Create seeder for users and roles
Follow me on
All contributions and pull requests are very much appreciated.
The Laravel framework is open-sourced software licensed under the MIT license.