xul / auth-kit
Reusable Laravel auth kit package with Blade UI, themes, email verification, 2FA, password reset, and rate limiting.
Requires
- php: ^8.3
- bacon/bacon-qr-code: ^3.0
- illuminate/auth: ^12.0|^13.0
- illuminate/cache: ^12.0|^13.0
- illuminate/contracts: ^12.0|^13.0
- illuminate/events: ^12.0|^13.0
- illuminate/http: ^12.0|^13.0
- illuminate/notifications: ^12.0|^13.0
- illuminate/queue: ^12.0|^13.0
- illuminate/routing: ^12.0|^13.0
- illuminate/session: ^12.0|^13.0
- illuminate/support: ^12.0|^13.0
- illuminate/validation: ^12.0|^13.0
- illuminate/view: ^12.0|^13.0
Requires (Dev)
- orchestra/testbench: ^10.11|^11.0
- pestphp/pest: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
README
AuthKit is a reusable, configuration-driven authentication package for Laravel applications.
It provides a complete authentication system with Blade-based UI, flexible configuration, and extensible flows โ without forcing a fixed implementation.
๐ Documentation
Full documentation is available here:
๐ https://xultech-ltd.github.io/auth-kit/
The documentation covers:
- Installation
- Configuration
- Authentication flows
- UI customization
- Extensibility and overrides
- Security features
โจ Features
- Authentication (login & registration)
- Email verification (link or token-based)
- Password reset (link or token-based)
- Two-factor authentication (TOTP, extensible drivers)
- Blade-based UI components
- Theme and UI customization support
- Fully configuration-driven architecture
- Route, controller, and validation overrides
- Rate limiting and security controls
๐ฆ Installation
โ ๏ธ AuthKit is currently in active development.
Once published:
composer require xul/auth-kit
Then follow the installation guide in the documentation.
โ๏ธ Configuration Philosophy
AuthKit is built around a configuration-first approach.
Instead of hardcoding behavior, you can control:
- authentication flows
- route structure and naming
- validation and payload mapping
- UI rendering and form schemas
- security features (verification, 2FA, confirmations)
- frontend behavior and themes
This allows you to adapt AuthKit to your application without modifying package internals.
๐งช Testing
composer test
๐ค Contributing
Contributions are welcome.
Please:
-
open issues for bugs or feature requests
-
submit pull requests for improvements
-
follow existing code style and structure
-
๐ License
AuthKit is open-sourced software licensed under the MIT license.