Skip to content

jasu-dev/Laravel-10-starter-kit-for-role-based-authentication

Repository files navigation

Laravel Logo

GMJ StarterKit

A Laravel-based Starter Kit for Role-Based Authentication and Authorization.


📖 About GMJ StarterKit

GMJ StarterKit is a Laravel starter template tailored for projects that require Role-Based Authentication. It simplifies development by providing pre-configured features, allowing you to focus on building your application's functionality.

Key Features:

  • Role-Based Authentication: Default roles include Admin and User, with easy extensibility for more.
  • Role Middleware: Custom middleware to handle role-based access control for routes.
  • Laravel UI Integration: Authentication scaffolding powered by Laravel UI.
  • Noble UI Styling: Pre-styled authentication pages with Noble UI Bootstrap templates.

⚡ Role-Based Functionality

The kit comes with two default roles:

  • Admin: Access admin-specific routes and functionality.
  • User: Access user-specific routes..

Roles are stored as enums in the users table. A custom Role Middleware is included to restrict access to routes based on roles.


⚡ Noble UI Template Integration

The authentication pages are styled using the Noble UI template, ensuring a clean and professional appearance out of the box.


⚡ 🐞 Reporting Issues

If you encounter any bugs or have suggestions for improvement, feel free to reach out:

We're also open to collaboration and custom project requests. Let's create something amazing together!


⚡ 🐞 License

This project is open-source and available under the MIT License.