| Package | Version | Purpose |
|---|---|---|
| Laravel | ^13.8 | Core framework |
| Laravel Fortify | ^1.24 | Authentication back-end (login, register, password reset, 2FA) |
| Laravel Passkeys | ^0.2.1 | WebAuthn / FIDO2 passkey authentication |
| Livewire | ^4.0 | Reactive UI components |
| Wirekit | ^2.11 | Livewire UI component kit |
- Email + password authentication via Fortify
- TOTP two-factor authentication (Google Authenticator, Authy, etc.) via Fortify
- Passkey authentication (Face ID, Touch ID, hardware security keys) via the official
laravel/passkeyspackage - Livewire reactive components for login, registration and 2FA challenge
- Wirekit component library for consistent Livewire UI primitives
- Password reset and email verification-ready
- PHP 8.4+
- Composer 2.x
- Node 20+ and npm
# 1. Install PHP dependencies
composer install
# 2. Copy and configure environment
cp .env.example .env
php artisan key:generate
# 3. Run database migrations
php artisan migrate
# 4. Install and build front-end assets
npm install
npm run devEdit .env to set the correct relying party values for your environment:
APP_URL=https://your-domain.comThe passkeys config (config/passkeys.php) derives relying_party_id and allowed_origins from APP_URL by default.
For local development with http://localhost, the defaults work out of the box.
Users can enable TOTP 2FA from the Security page (/user/two-factor-authentication):
- Click Enable two-factor authentication
- Confirm your password when prompted
- Scan the QR code with an authenticator app
- Enter a code from the app to confirm setup
- Save the recovery codes in a safe place
From the dashboard or the Security page, authenticated users can:
- Register new passkeys (biometric or hardware key)
- View and delete existing passkeys
Login with a passkey is available on the login page via the Sign in with Passkey button.
php artisan testTest suite covers registration, login, 2FA enable/disable/challenge and passkey endpoints.
The Laravel framework is open-sourced software licensed under the MIT license.
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Laravel is accessible, powerful, and provides tools required for large, robust applications.
Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
In addition, Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
You can also watch bite-sized lessons with real-world projects on Laravel Learn, where you will be guided through building a Laravel application from scratch while learning PHP fundamentals.
Laravel's predictable structure and conventions make it ideal for AI coding agents like Claude Code, Cursor, and GitHub Copilot. Install Laravel Boost to supercharge your AI workflow:
composer require laravel/boost --dev
php artisan boost:installBoost provides your agent 15+ tools and skills that help agents build Laravel applications while following best practices.
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.
The Laravel framework is open-sourced software licensed under the MIT license.