Skip to content

Laravel Multi Authentication using Stisla admin template & Spatie permission package

Notifications You must be signed in to change notification settings

mdashraful305/laravel-multiauth

Repository files navigation

Project Name

Laravel Multi Authentication

Introduction

This project utilizes the Stisla admin template and the Spatie permission package to create a robust and user-friendly web application. Stisla provides a sleek and modern interface for the admin dashboard, while Spatie permission package offers a convenient way to manage user roles and permissions within the application.

Features

  • Stisla Admin Template: Utilize the modern and responsive Stisla admin template to create a visually appealing and intuitive dashboard interface.

  • Spatie Permission Package Integration: Seamlessly integrate the Spatie permission package to manage user roles and permissions efficiently.

  • User Management: Easily manage user accounts, roles, and permissions through the provided interface.

  • Role-Based Access Control (RBAC): Implement role-based access control to restrict access to certain features or sections of the application based on user roles.

  • Customization: Extend and customize the functionality of the application according to specific project requirements.

Installation

  1. Clone the repository:
https://github.com/mdashraful305/laravel-multiauth.git
  1. Navigate to the project directory:
cd laravel-multiauth
  1. Install dependencies using Composer:
composer install
  1. Set up your environment variables by copying the .env.example file to .env:
cp .env.example .env
  1. Generate a new application key:
php artisan key:generate
  1. Configure your database settings in the .env file:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database
DB_USERNAME=your_username
DB_PASSWORD=your_password
  1. Migrate the database:
php artisan migrate
  1. Seed the database with initial data:
php artisan db:seed

Usage

  1. Start the development server:
php artisan serve
  1. Access the application in your web browser at http://localhost:8000.

  2. Log in with the default credentials:

To access the application after installation, you can use the following default credentials for the predefined user roles:

These credentials can be used to log in to the application and access the admin dashboard. It is recommended to change these default passwords and user details after the initial setup for security reasons.

Credits

License

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