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

1.0.0 2025-06-19 15:12 UTC

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.