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
.envfile to match the database. - Run
php artisan migratein your command line - Signup a new user and and login
- To create the first admin,go to your database and create new
rolesin the roles table. Then change therole_idof your first user to therole_idof 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.