Skip to content

percivalyan/laravel-simple-multi-role-auth

Repository files navigation

Laravel Simple Multi Role Auth

License Laravel Version PHP Version MySQL

Features

  • Login Multi Role (Admin, Editor & User)
  • Register (User)
  • Session Log (Admin->all access, Editor & User->partial access)
  • User Management (Admin)

Technology Stack

  • Laravel 12 Framework
  • MySQL Database
  • PHP 8.2+
  • Composer 2.8+

Prerequisites

  • PHP 8.2.12 or higher
  • Composer 2.8.6 or higher
  • MySQL 5.7+ or MariaDB 10.3+
  • XAMPP/WAMP/LAMP (optional)

Installation

Clone the repository

git clone https://github.com/percivalyan/laravel-simple-multi-role-auth.git
cd laravel-simple-multi-role-auth

Install PHP dependencies

composer install

Setup environment

cp .env.example .env

or

copy .env.example .env
php artisan key:generate

Configure database (edit .env file with your credentials)

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=Your Name Database
DB_USERNAME=Your Username
DB_PASSWORD=Your Password

Run migrations and seeders

php artisan migrate --seed

Start development server

php artisan serve

About

Template Laravel Multi Auth

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors