codesren/breezify 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

codesren/breezify

Composer 安装命令:

composer require codesren/breezify

包简介

This is a combination of Laravel Breeze UI and Fortify as a backend authentication system

README 文档

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.

codesren/breezify 适用场景与选型建议

codesren/breezify 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 16 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 06 月 19 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 codesren/breezify 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 codesren/breezify 我们能提供哪些服务?
定制开发 / 二次开发

基于 codesren/breezify 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 16
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 22
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-19