grpaiva/jetstream-flux
Composer 安装命令:
composer require grpaiva/jetstream-flux
包简介
A Laravel package to integrate Jetstream views with Flux UI.
README 文档
README
Note
This package is deprecated since Laravel 12's Livewire Starter Kit includes Flux UI by default.
I recommend upgrading to Laravel 12, but you can still use it with Laravel 11 if you need to.
Jetstream Flux
Jetstream Flux is a Laravel package that seamlessly integrates FluxUI components into your Jetstream with Livewire starter kit views. Built to simplify and speed up Laravel applications creation, Jetstream Flux replaces Jetstream's default views with beautifully styled, consistent, and flexible FluxUI components.
This package is designed to provide developers with a Flux-powered interface, allowing them to spin up new Laravel applications with clean, concise, and reusable UI components from Flux.
Note: To use this package, you will need a Flux license.
Features
- Publish Jetstream views styled with FluxUI components
- Provides a consistent design language throughout your Laravel app
- Easily customizable with both simple and composable components from Flux
- Includes all necessary views for authentication, profile management, teams, and more
- Options to publish the views under
resources/views/vendoror replace Jetstream views directly inresources/views
Requirements
This package requires the following:
{
"php": "^8.2",
"laravel/framework": "^11.0",
"laravel/jetstream": "^5.2",
"livewire/livewire": "^3.0",
"flux/flux": "^1.0",
"flux/flux-pro": "^1.0"
}
You'll need to have a Flux license to use this package.
Installation
First, require the package using Composer:
composer require grpaiva/jetstream-flux
After installing the package, you'll need to publish the views. You can either publish them into the resources/views/vendor/jetstream-flux directory (default) or replace the existing Jetstream views.
Publish Views
Option 1: Default Mode (Vendor)
This command will publish the FluxUI-based Jetstream views under resources/views/vendor/jetstream-flux:
php artisan jetstream-flux:publish --mode=vendor
Option 2: Replace Mode (Overwrite Existing Views)
This command will replace the existing Jetstream views directly in the resources/views directory:
php artisan jetstream-flux:publish --mode=replace
Available Views
The package publishes the following views, which are fully integrated with FluxUI components:
-
dashboard.blade.php -
navigation-menu.blade.php -
./api:
api-token-manager.blade.phpindex.blade.php
-
./auth:
confirm-password.blade.phpforgot-password.blade.phplogin.blade.phpregister.blade.phpreset-password.blade.phptwo-factor-challenge.blade.phpverify-email.blade.php
-
./components:
action-message.blade.phpaction-section.blade.phpapplication-logo.blade.phpapplication-mark.blade.phpauthentication-card-logo.blade.phpauthentication-card.blade.phpbanner.blade.phpconfirms-password.blade.phpdropdown-link.blade.phpform-section.blade.phpsection-border.blade.phpsection-title.blade.phpswitchable-team.blade.phpvalidation-errors.blade.phpwelcome.blade.php
-
./layouts:
app.blade.phpguest.blade.php
-
./profile:
delete-user-form.blade.phplogout-other-browser-sessions-form.blade.phpshow.blade.phptwo-factor-authentication-form.blade.phpupdate-password-form.blade.phpupdate-profile-information-form.blade.php
-
./teams:
create-team-form.blade.phpcreate.blade.phpdelete-team-form.blade.phpshow.blade.phpteam-member-manager.blade.phpupdate-team-name-form.blade.php
About FluxUI
FluxUI is a comprehensive set of UI components created by Caleb Porzio and Hugo Sainte-Marie. It's built with simplicity, composability, and consistency in mind, allowing developers to easily create elegant and functional UI components. The principles of FluxUI include simplicity, composability, friendliness, and brevity, all aimed at improving the app-building experience.
To learn more about FluxUI, check out FluxUI’s documentation.
Screenshots
The idea is indeed to look almost exactly like the default Jetstream views, but using FluxUI components.
Login Page
Registration Page
Profile Settings
Team Settings
Contributing
Feel free to contribute to the project by submitting issues or pull requests.
This package is open-sourced software licensed under the MIT license.
grpaiva/jetstream-flux 适用场景与选型建议
grpaiva/jetstream-flux 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 185 次下载、GitHub Stars 达 6, 最近一次更新时间为 2024 年 10 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 grpaiva/jetstream-flux 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 grpaiva/jetstream-flux 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 185
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 20
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-10-04



