PHPackages                             ehsanghafoori/jetstream-flux-livewire - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. ehsanghafoori/jetstream-flux-livewire

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

ehsanghafoori/jetstream-flux-livewire
=====================================

Jetstream Livewire-only fork with Livewire 4, Tailwind 4, and Flux UI. UI changes only — core auth and team logic unchanged.

v1.1.0(1mo ago)01↓88.9%MITPHPPHP ^8.2.0

Since Jun 2Pushed 1mo agoCompare

[ Source](https://github.com/EhsanGhafoori/jetstream-flux-livewire)[ Packagist](https://packagist.org/packages/ehsanghafoori/jetstream-flux-livewire)[ Docs](https://github.com/EhsanGhafoori/jetstream-flux-livewire)[ RSS](/packages/ehsanghafoori-jetstream-flux-livewire/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (11)Versions (5)Used By (0)

Jetstream Flux Livewire
=======================

[](#jetstream-flux-livewire)

A **Livewire-only** fork of [Laravel Jetstream](https://github.com/laravel/jetstream) that ships with **Livewire 4**, **Tailwind CSS 4**, and **[Flux UI](https://fluxui.dev)** views.

Maintained by [Ehsan Ghafoori](https://github.com/EhsanGhafoori).

---

Why this package exists
-----------------------

[](#why-this-package-exists)

[Laravel Jetstream](https://github.com/laravel/jetstream) is a mature, battle-tested authentication and team-management scaffold. Laravel’s newer [Starter Kits](https://laravel.com/starter-kits) are the recommended path for **new** greenfield apps.

Many teams still want **Jetstream’s feature set** (teams, API tokens, 2FA, profile management) on a **modern stack**:

NeedOfficial Jetstream (5.x)This packageLivewire 4Livewire 3**Livewire 4**Tailwind CSS 4Tailwind 3**Tailwind 4**Flux UI viewsDefault Tailwind components**Flux UI**Inertia / Vue stackSupported**Removed** (Livewire only)There was no maintained, official Jetstream release that combined **Livewire 4 + Tailwind 4 + Flux UI** in one installable package. This fork fills that gap for developers who prefer Jetstream’s architecture and security model on a current frontend stack.

---

Security &amp; scope of changes
-------------------------------

[](#security--scope-of-changes)

**This fork is intentionally conservative.** Authentication, authorization, team logic, and backend behaviour remain aligned with upstream Jetstream.

### What we did **not** change

[](#what-we-did-not-change)

The following are **unchanged from Laravel Jetstream** (same responsibilities, same security model):

- **Authentication** — still powered by [Laravel Fortify](https://github.com/laravel/fortify) (login, registration, 2FA, password reset, email verification)
- **Livewire component logic** — `src/Http/Livewire/*` (profile, teams, API tokens, sessions)
- **Controllers &amp; routes** — `src/Http/Controllers/Livewire/*`, `routes/livewire.php`
- **Team system** — roles, permissions, invitations, policies, actions, events
- **Database migrations** — users, teams, tokens, 2FA columns
- **Middleware** — session authentication, password confirmation
- **Core package API** — `Jetstream`, `Features`, traits (`HasTeams`, `HasProfilePhoto`), contracts

You get the **same Jetstream backend** you already trust. We did not rewrite auth flows or team authorization.

### What we **did** change (presentation &amp; tooling only)

[](#what-we-did-change-presentation--tooling-only)

AreaChange**Blade views**Replaced with Flux UI components ([adapted from jetstream-flux](https://github.com/grpaiva/jetstream-flux))**CSS / Vite**Tailwind 4 CSS-first setup + `@tailwindcss/vite`**Install command**Requires Livewire 4, Flux 2, Tailwind 4 npm packages**Stack**Inertia / Vue stack removed — Livewire only**Summary:** UI and frontend tooling updates only. No custom auth logic, no bypass of Fortify or Sanctum, no changes to how teams or permissions work.

---

Requirements
------------

[](#requirements)

- PHP 8.2+
- Laravel 11, 12, or 13
- Node.js 20.19+ (or 22.12+) for Vite 8 builds
- [Flux license](https://fluxui.dev) — `livewire/flux` requires Composer authentication

---

Installation
------------

[](#installation)

### 1. Require the package

[](#1-require-the-package)

From [Packagist](https://packagist.org/packages/ehsanghafoori/jetstream-flux-livewire):

```
composer require ehsanghafoori/jetstream-flux-livewire
```

If the package is not yet on Packagist, add the GitHub repository to your app's `composer.json` instead:

```
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/EhsanGhafoori/jetstream-flux-livewire"
        }
    ],
    "require": {
        "ehsanghafoori/jetstream-flux-livewire": "^1.0"
    }
}
```

### 2. Configure Flux (Composer)

[](#2-configure-flux-composer)

Create or update `auth.json` in your **project root** (never commit this file):

```
{
    "http-basic": {
        "composer.fluxui.dev": {
            "username": "your-email@example.com",
            "password": "your-flux-license-key"
        }
    }
}
```

Get your license at [fluxui.dev](https://fluxui.dev).

### 3. Run the Jetstream installer

[](#3-run-the-jetstream-installer)

```
php artisan jetstream:install
```

**Common options:**

```
# Teams + API + email verification
php artisan jetstream:install --teams --api --verification

# Google One Tap login on auth pages
php artisan jetstream:install --google

# Everything together
php artisan jetstream:install --teams --api --verification --google

# Dark mode + Pest tests
php artisan jetstream:install --teams --dark --pest
```

OptionDescription`--teams`Team management`--api`Sanctum API tokens`--verification`Email verification (Fortify)`--dark`Dark mode classes in views`--google`Google One Tap login (requires [websitinu/laravel-socialite-google-one-tap](https://packagist.org/packages/websitinu/laravel-socialite-google-one-tap))`--pest`Install Pest test stubs### 4. Frontend &amp; database

[](#4-frontend--database)

```
npm install
npm run build
php artisan migrate
```

### 5. Register &amp; test

[](#5-register--test)

Visit `/register`, create a user, then open `/dashboard`.

---

What you get after install
--------------------------

[](#what-you-get-after-install)

- Flux-styled auth pages (login, register, 2FA challenge, etc.)
- Flux navigation header and mobile sidebar
- Profile, team, and API token management UIs
- Tailwind 4 + Vite configuration
- Livewire 4 + Flux 2 registered via Composer

---

Differences from official Jetstream
-----------------------------------

[](#differences-from-official-jetstream)

1. **Livewire stack only** — no Inertia, Vue, or SSR scaffolding.
2. **Modern frontend** — Livewire 4, Tailwind 4, Flux UI.
3. **Same install command** — `php artisan jetstream:install` (no stack argument).
4. **Drop-in replacement** — same namespace (`Laravel\Jetstream`), same Fortify/Sanctum integration.

Official Jetstream remains the right choice if you need Inertia or Laravel’s default Starter Kits. Use **this package** if you want **Jetstream + Livewire 4 + Tailwind 4 + Flux**.

---

Upgrading from official `laravel/jetstream`
-------------------------------------------

[](#upgrading-from-official-laraveljetstream)

This is a **separate package** (`ehsanghafoori/jetstream-flux-livewire`), not an in-place upgrade of `laravel/jetstream`.

For **new projects**, require this package instead of `laravel/jetstream` and run `jetstream:install`.

For **existing Jetstream apps**, treat it as a migration project: back up first, compare published views and config, then reinstall scaffolding on a branch.

---

Reporting issues
----------------

[](#reporting-issues)

Security concerns about **Jetstream core behaviour** should still be reported to [laravel/jetstream](https://github.com/laravel/jetstream/security).

For issues specific to **Flux views**, **Tailwind 4 setup**, or **Livewire 4 compatibility** in this fork:

[github.com/EhsanGhafoori/jetstream-flux-livewire/issues](https://github.com/EhsanGhafoori/jetstream-flux-livewire/issues)

---

Credits
-------

[](#credits)

ProjectRole[Laravel Jetstream](https://github.com/laravel/jetstream)Core auth, teams, API, Livewire logic — MIT[jetstream-flux](https://github.com/grpaiva/jetstream-flux)Flux UI Blade views — MIT[Livewire Flux](https://fluxui.dev)UI component library[Ehsan Ghafoori](https://github.com/EhsanGhafoori)Fork maintenance — Livewire 4 / Tailwind 4 / installer updates---

License
-------

[](#license)

MIT — see [LICENSE.md](LICENSE.md).

Copyright (c) Taylor Otwell — original Jetstream
Copyright (c) Ehsan Ghafoori — fork modifications

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance90

Actively maintained with recent releases

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

52d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/118250253?v=4)[Ehsan Ghafoori](/maintainers/EhsanGhafoori)[@EhsanGhafoori](https://github.com/EhsanGhafoori)

---

Top Contributors

[![EhsanGhafoori](https://avatars.githubusercontent.com/u/118250253?v=4)](https://github.com/EhsanGhafoori "EhsanGhafoori (7 commits)")

---

Tags

laravelauthfluxlivewiretailwindjetstream

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ehsanghafoori-jetstream-flux-livewire/health.svg)

```
[![Health](https://phpackages.com/badges/ehsanghafoori-jetstream-flux-livewire/health.svg)](https://phpackages.com/packages/ehsanghafoori-jetstream-flux-livewire)
```

###  Alternatives

[laravel/jetstream

Tailwind scaffolding for the Laravel framework.

4.1k21.8M159](/packages/laravel-jetstream)[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[livewire/flux

The official UI component library for Livewire.

9577.8M138](/packages/livewire-flux)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
