Looking to hire Laravel developers? Try LaraJobs

laravel-auth maintained by hiradrayan

Description
laravel auth
Last update
2025/04/23 20:04 (dev-main)
License
Links
Downloads
36

Comments
comments powered by Disqus

Laravel Auth Package

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