aliqsm / laravel-authkit
A reusable Laravel authentication package supporting web and API authentication, two-factor authentication, password reset, and email verification.
Requires
- php: ^8.2
- laravel/framework: ^12.0 || ^13.0
- laravel/sanctum: ^4.0
- laravel/socialite: ^5.31
- pragmarx/google2fa: ^9.0
- simplesoftwareio/simple-qrcode: ^4.2
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Laravel AuthKit is a package that helps you add authentication and account security features to your Laravel application.
It supports both Web and API applications. Authentication in both modes uses Laravel sessions and cookies, managed by Laravel Sanctum. The API mode does not use Bearer Tokens or Personal Access Tokens.
Features
- Web Authentication
- API Authentication
- Google Login
- Password Reset
- Email Verification
- Two-Factor Authentication (2FA)
- Recovery Codes
- Profile Management
- Password Management
- Session Management
- Security Activities
- Security Notifications
Installation
You can install Laravel AuthKit using Composer:
composer require aliqsm/laravel-authkit
After installation, follow the documentation to configure and use the package.
Documentation
The documentation explains how to install, configure, and use Laravel AuthKit.
It also includes examples, feature descriptions, and API endpoint details.
Requirements
- PHP 8.2 or higher
- Laravel 12 or 13
- Composer
License
Laravel AuthKit is open-source software licensed under the MIT License.