LaravelStarter

jetstream-flux-livewire — Laravel Starter Template

By EhsanGhafoori

A Livewire-only fork of Laravel Jetstream that replaces Blade views with Flux UI components and upgrades to Livewire 4 and Tailwind CSS 4, while keeping backend authentication, teams, and API logic consistent with upstream Jetstream.

Explore the design

Compare the page layouts and mobile experience. Open any screenshot for a closer look.

3 previews
Desktop homepage1 / 3
Desktop captureTop of page

Actual screenshot captured by the server browser.

All pages & views 3

Screenshots show visual appearance; interactive behavior may differ.

Recorded 2026-10-14View source

What stands out

A quick read of the recorded project description.

01

Livewire-only fork: removes the Inertia/Vue stack and keeps only Livewire scaffolding

02

Blade views replaced with Flux UI components, adapted from the jetstream-flux project

03

Frontend upgraded to Livewire 4 and Tailwind CSS 4, using the @tailwindcss/vite configuration

04

Backend logic for authentication, teams, API tokens, and more remains consistent with upstream Jetstream

05

Retains the php artisan jetstream:install installation command, supporting options such as teams, api, verification, dark, google, and pest

06

Package name and namespace remain Laravel\Jetstream, and it can be regarded as an alternative installation package under the same namespace

Template Details

This is a Laravel Jetstream fork maintained by Ehsan Ghafoori that keeps only the Livewire stack and removes the Inertia/Vue scaffolding. It replaces Jetstream's original Blade views with Flux UI components (adapted from the jetstream-flux project) and adopts Livewire 4, Tailwind CSS 4, and the @tailwindcss/vite frontend toolchain. The README explicitly states that authentication, authorization, team logic, and backend behavior remain consistent with upstream Jetstream; the authentication flow and team authorization are not rewritten, and changes are limited to interface presentation and frontend tooling. Installation is done via the php artisan jetstream:install command, supporting options such as --teams, --api, --verification, --dark, --google, and --pest. Before use, PHP 8.2+, Laravel 11/12/13, Node.js 20.19+ or 22.12+, and a Flux license are required, because livewire/flux requires Composer authentication. The README does not provide information on performance, production readiness, or long-term maintenance commitments.

LaravelStarter

Is it right for your project?

Use Cases

  • Projects that want to continue using Jetstream's teams, API tokens, two-factor authentication, and profile management features but need Livewire 4 and Tailwind 4
  • Developers who prefer Jetstream's architecture and security model while wanting the interface to use Flux UI components
  • Scenarios where a new Laravel project is planned with a Livewire-only stack and Inertia or Vue is not needed
  • Teams with existing Jetstream applications who want to evaluate migrating to Livewire 4 + Tailwind 4 + Flux UI (the README recommends treating it as a migration project)

Suitable For

  • Projects using Laravel 11, 12, or 13 and meeting PHP 8.2+
  • Developers who already hold a Flux license and can configure Composer authentication
  • Teams that need the Jetstream feature set but do not need Inertia/Vue scaffolding
  • Developers willing to accept that this fork only changes the interface and frontend tooling, with backend behavior consistent with upstream

Getting started & customization

Use these recorded setup notes alongside the repository instructions for your chosen version.

  1. 1

    Install via composer require ehsanghafoori/jetstream-flux-livewire; if it is not published to Packagist, add the GitHub VCS repository in composer.json

  2. 2

    Create auth.json in the project root to configure HTTP Basic authentication for composer.fluxui.dev, using the Flux license email and key, and do not commit this file

  3. 3

    Run php artisan jetstream:install, optionally adding options such as --teams, --api, --verification, --dark, --google, and --pest

  4. 4

    Run npm install, npm run build, and php artisan migrate to complete the frontend build and database migration

  5. 5

    Visit /register to create a user and then go to /dashboard to verify the installation; when migrating from the official laravel/jetstream, the README recommends backing up first and reinstalling the scaffolding on a branch

Read repository instructions

License & source material

Usage conditions & limitations

Free to use · keep license notice

This entry covers the free version under the MIT license in the public repository; the free scope is the code of that version and does not mean that external services or third-party assets are free.

Must comply with when using

  • Free use, modification, commercial use, and distribution of this version's code are permitted.
  • When distributing copies or substantial portions of the code, retain the original author's copyright notice and the full MIT license notice.
  • The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.

Additional costs & items to verify

  • Demo images, fonts, icons, and other third-party assets must be checked against their respective licenses and cannot be judged solely by the code's MIT license.
  • External services such as domains, hosting, databases, payments, or AI may incur separate charges.
  • Using livewire/flux requires a Flux license and configuring authentication credentials in Composer, making it a paid/licensed dependency.
  • auth.json must be created in the project root to configure Flux's Composer HTTP Basic authentication, and this file should not be committed.
  • A Flux license must be obtained from fluxui.dev to install and use it.
  • When using the --google option, it depends on the third-party package websitinu/laravel-socialite-google-one-tap and requires configuring Google One Tap login.
View Original Text Basis

Permission is hereby granted, free of charge

Original License Text

- [Flux license](https://fluxui.dev) — `livewire/flux` requires Composer authentication

Original README

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

Original README

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

Original README

| `--google` | Google One Tap login (requires [websitinu/laravel-socialite-google-one-tap](https://packagist.org/packages/websitinu/laravel-socialite-google-one-tap)) |

Original README
https://github.com/EhsanGhafoori/jetstream-flux-livewire/blob/master/LICENSE.mdhttps://github.com/EhsanGhafoori/jetstream-flux-livewire/blob/master/README.md

Compiled by DeepSeek based on repository license and README ·2026-10-14. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.

Project checks & description sources

Template Information

Source platforms
GitHub
Documentation and maintenance reference score
More documented · 80 / 100
Technologies
Laravel
Website type
Starter
How this score is calculated

Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.

What to verify for this project

Repository update recorded
2026-06-02
Screenshot last checked
2026-10-14

A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.

The catalog identifies Laravel as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.

Use a selection guide →

How this description was prepared

AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.

Review declaration: codex-user-requested-batch-review-20261015 · 2026-10-15

Inspect the recorded source material

SHA-256: 72d0d651ca32f42ace6ea2d58bbbcc97ac38d1db1ed72e0365fdfe79de216e77

2026-10-14T08:15:48.427Z

Source file / repository
# 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

[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**:

| Need | Official Jetstream (5.x) | This package |
|------|------------------------|--------------|
| Livewire 4 | Livewire 3 | **Livewire 4** |
| Tailwind CSS 4 | Tailwind 3 | **Tailwind 4** |
| Flux UI views | Default Tailwind components | **Flux UI** |
| Inertia / Vue stack | Supported | **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 & 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

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 & 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 & tooling only)

| Area | Change |
|------|--------|
| **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

- 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

### 1. Require the package

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

```bash
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:

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

### 2. Configure Flux (Composer)

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

```json
{
    "http-basic": {
        "composer.fluxui.dev": {
            "username": "[email protected]",
            "password": "your-flux-license-key"
        }
    }
}
```

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

### 3. Run the Jetstream installer

```bash
php artisan jetstream:install
```

**Common options:**

```bash
# 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
```

| Option | Description |
|--------|-------------|
| `--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 & database

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

### 5. Register & test

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

---

## 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

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`

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

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

| Project | Role |
|---------|------|
| [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

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

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

Explore similar templates

Compare previews and descriptions within the same stack and category.