Skip to main content

Architecture Overview

1. Overview

Speed Forge Saas Kit is a free and open-source, batteries-included multitenant SaaS starter kit built on Laravel 13, Livewire 4, Tailwind CSS, Alpine.js, and Flux UI, with multi-database tenancy powered by Tenancy for Laravel (stancl/tenancy). The goal is to reduce the time required to launch a modern Laravel SaaS by solving the difficult parts up front: central user identity, subdomain-based tenant identification, per-tenant databases, plan-aware billing foundations, and admin control surfaces.

2. Tech Stack

Laravel 13 + Livewire 4 + Tailwind + Alpine.js + Flux UI + stancl/tenancy

2.1 Architecture Decisions

DecisionChosen ApproachStatus
Frontend stackLaravel 13 + Livewire 4 + Tailwind + Alpine.js + Flux UI✅ Implemented
Tenancy modelMulti-database (stancl/tenancy)✅ Implemented
Tenant identificationSubdomain via InitializeTenancyBySubdomain✅ Implemented
Identity source of truthCentral users table✅ Implemented
Admin roleis_admin boolean flag on users✅ Implemented
Auth backendLaravel Fortify (login, register, 2FA, password reset, email verification)✅ Implemented
Billing ownerTenant (not individual user)🔲 Planned
Billing engineProvider-agnostic abstraction (Stripe-first)🔲 Planned
API layerCentral + Tenant REST API🔲 Planned