codesren / breezify
This is a combination of Laravel Breeze UI and Fortify as a backend authentication system
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Language:Blade
Type:laravel-package
Requires
- php: ^8.2
- laravel/fortify: ^1.26
- laravel/framework: ^12.0
- laravel/tinker: ^2.10.1
This package is not auto-updated.
Last update: 2025-06-20 07:20:11 UTC
README
Breezify is a Laravel authentication scaffolding package that combines the clean UI approach of Laravel Breeze with the powerful backend features of Laravel Fortify. It offers out-of-the-box authentication views, profile management, email verification, and two-factor authentication โ all ready to go.
Built and maintained by Renish Siwakoti
๐ฆ Installation
1. Require the Package via Composer
composer require codesren/breezify:dev-main
2. Publish the Breezify Assets
php artisan vendor:publish --tag=breezify & php artisan install:breezify blade
3. Register the Fortify Service Provider
Ensure the following is added to config/app.php:
App\Providers\FortifyServiceProvider::class,
โ๏ธ Configuration Enable Fortify Views
In config/fortify.php:
'views' => true,
4. Enable Features in config/fortify.php
'features' => [
Features::registration(),
Features::resetPasswords(),
Features::emailVerification(),
Features::updateProfileInformation(),
Features::updatePasswords(),
Features::twoFactorAuthentication([
'confirmPassword' => true,
]),
],
5. In make sure to have these View in Providers/FortifyServiceProvider.php
# Register view
Fortify::registerView(function () {
return view('auth.register');
});
# Login view
Fortify::loginView(function () {
return view('auth.login');
});
# Forgot Password view
Fortify::requestPasswordResetLinkView(function () {
return view('auth.forgot-password');
});
# Reset Password view
Fortify::resetPasswordView(function (Request $request) {
return view('auth.reset-password', ['request' => $request]);
});
# Email verification view
Fortify::verifyEmailView(function () {
return view('auth.verify-email');
});
# Password confirmation view
Fortify::confirmPasswordView(function () {
return view('auth.confirm-password');
});
# Two factor authentication
Fortify::twoFactorChallengeView(function (Request $request) {
$recovery = $request->get('recovery',false);
return view('auth.two-factor-challenge',compact('recovery'));
});
๐ Routes
Make sure to include the published route file in routes/web.php:
require __DIR__.'/auth.php';
๐งโ๐ป User Model Setup
6. Ensure your User model uses necessary traits and interfaces:
use Laravel\Fortify\TwoFactorAuthenticatable;
use Illuminate\Contracts\Auth\MustVerifyEmail;
class User extends Authenticatable implements MustVerifyEmail
{
use HasFactory, Notifiable, TwoFactorAuthenticatable;
protected $fillable = ['name', 'email', 'password'];
}
๐ก๏ธ Features Included
โ Registration & Login โ Email Verification โ Forgot & Reset Password โ Profile Update โ Password Confirmation โ Two-Factor Authentication โ Tailwind CSS UI โ Vite + PostCSS Ready ๐ Build Frontend Assets
After publishing:
npm install
npm run dev
Ensure you have Node.js, npm, and Vite configured.
7. ๐งช Run Migrations
php artisan migrate
๐ค Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. ๐ง Support
Email: renishsiwakoti437@gmail.com
Issues: GitHub Issues
๐ License
The MIT License (MIT). See LICENSE for details.