hiradrayan/laravel-auth

laravel auth

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

v3.0.2 2024-05-04 17:00 UTC

README

This package provides an authentication system for Laravel applications using the national ID as the primary identifier. It allows users to authenticate using their national ID and provides the necessary functionality for user registration, login, and password reset.

Installation

  1. Install the package using Composer by running the following command:
composer require hiradrayan/laravel-auth
  1. Publish the package migrations by running the following command:
php artisan vendor:publish --tag=migration

This will copy the migration files to your application's database/migrations directory.

  1. Run the database migrations to create the required tables:
php artisan migrate && php artisan db:seed --class="Authentication\\path\\seeders\\DatabaseSeeder" 
  1. (Optional) If you want to customize the login form, you can publish the login form views by running the following command:
php artisan vendor:publish --tag=publisher-national-id

This will copy the login form views to your application's resources/views/auth directory. You can then modify these views to suit your needs.

Configuration

Usage

License

Contributing