Skip to content

Laravel Livewire SaaS Starter Kit

Our Laravel SaaS backend with a Livewire 4 frontend. Pages are class-based Livewire components with Blade views, the UI uses Flux UI (free edition) behind shared x-common components, and forms are validated with Laravel Form Requests.

Livewire frontend stack

Framework
Livewire 4, class-based components
Views
Blade + Alpine.js
UI components
Flux UI (free) behind x-common wrappers
Icons
Iconify (iconify-icon)
Toasts
Flux toasts
Menu drag & drop
wire:sort
Validation
Laravel Form Requests
BladeAlpine.jsTailwind CSS v4Vite+Iconifyblade-formatter

Features

What's in the kit

Every backend feature comes with a finished Livewire UI: pages, dialogs, forms and toasts.

Authentication

Login, registration, password reset, email verification, two-factor auth, passkeys and profile & security settings. You switch each one on or off per domain.

Multi-tenancy

Each tenant gets its own database and subdomain. You create and edit tenants from a list with stats, track workspace status and invite each tenant's admin.

Domains

Give each tenant a primary domain and as many secondary ones as you need. Every domain has its own app name, default language and sign-in options.

Maintenance & suspension

Put every tenant workspace into maintenance with your own message, a secret bypass link and allowed IPs. You can also suspend a single workspace, which blocks it.

Users & invitations

Manage users with search and stats, give them a role and extra permissions, and invite them by email with a signed link.

Roles & permissions

Spatie roles and permissions with protected system roles, separate permission config files for the central and tenant apps, and menus that respect them.

Navigation & layouts

Menus live in the database and you reorder them by drag & drop. Pick a sidebar or header layout, a sidebar style, a sign-in layout and light or dark mode.

Localization

17 languages. Each user picks their own, each domain has a default, and validation messages are translated and shared with the frontend.

Testing & tooling

Pest feature tests, Larastan, Pint, ESLint and Prettier are set up, along with Laravel Boost guidelines and skills for AI coding agents.

Conventions

Idiomatic Livewire

The Livewire kit sticks to the usual Livewire conventions, and Larastan checks the types.

Pages
resources/views/pages/tenants/index.blade.php
Components
Modules/Tenant/Livewire/Index.php
Shared UI
resources/views/components/common/*.blade.php

Translations in a component

{{ __('modules/tenant.index.title') }}

Named routes in Blade

<a href="{{ route('tenants.index') }}" wire:navigate>

Framework-specific implementation

Livewire components with Laravel validation

The Livewire kit keeps everything in PHP and Blade: a Livewire class per page or modal, Form Requests for validation and services for the business logic.

  • Register full-page components with Route::livewire and keep each module's components in Modules/<Module>/Livewire.
  • Validate with the same Form Request classes as an HTTP request through validateFormRequest(), then call a service.
  • Build views from the x-common components, so swapping the UI library means editing one folder.

A page in Livewire

public function save(RoleService $roleService): void
{
    $validated = $this->validateFormRequest(RoleRequest::class, ['name' => $this->name]);

    $roleService->createRole($validated);

    Flux::toast(variant: 'success', text: __('modules/role.toasts.created'));
}

Shared backend

The same Laravel backend in every kit

The Livewire kit has the same modules, services, tenancy, authentication and permissions as the other kits. Livewire components replace the Inertia controllers, and Form Requests replace laravel-data.

  • The full Laravel + Livewire source code
  • Access to the saas-laravel-starter-kit-livewire repository
  • Weekly updates, pushed to that repository
  • Pest feature tests, with Larastan and Pint already set up
  • 17 languages, used straight from Laravel's lang files
  • Documentation for the backend and the Livewire frontend
Framework
Laravel 13 on PHP 8.4+
Frontend
Livewire 4 class-based components
Authentication
Laravel Fortify + passkeys
Multi-tenancy
stancl/tenancy, database per tenant
Authorization
spatie/laravel-permission
Validation
Laravel Form Requests
Translations
Laravel lang files
Quality
Pest 5, Larastan, Pint, blade-formatter, Laravel Boost

Start building with Livewire

The Livewire Starter Kit is $49, paid once, or get all four kits for $139. You keep access for life and get weekly updates.

One-time payment · Lifetime access · Weekly updates included · No recurring subscription