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
composer require codesren/breezify:dev-main
php artisan vendor:publish --tag=breezify & php artisan install:breezify blade
Ensure the following is added to config/app.php:
App\Providers\FortifyServiceProvider::class,
โ๏ธ Configuration Enable Fortify Views
In config/fortify.php:
'views' => true,
'features' => [
Features::registration(),
Features::resetPasswords(),
Features::emailVerification(),
Features::updateProfileInformation(),
Features::updatePasswords(),
Features::twoFactorAuthentication([
'confirmPassword' => true,
]),
],
# 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
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.
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.
How can I help you explore Laravel packages today?