SaaS4Builders Documentation
Welcome to the SaaS4Builders documentation. This guide covers every aspect of the boilerplate — from initial setup to extending the platform with your own features.
SaaS4Builders is a commercial boilerplate for building multi-tenant SaaS applications. It combines a Laravel 13 API backend with a Nuxt 4 frontend, Stripe billing, team management, and a structured AI-first developer experience. Everything is Docker-ready and designed for production from day one.
Documentation Sections
Getting Started
Installation, Docker setup, environment configuration, and deployment. Everything you need to go from purchase to running application.
Architecture
The mental model behind the codebase: domain-driven backend layers, vertical-slice frontend, API contracts, and architectural decision records.
Authentication
Sanctum token-based auth, registration and onboarding flow, login/logout/refresh, and admin impersonation.
Billing
Stripe integration, pricing models (flat, seat-based, usage-based), subscription lifecycle, invoices, webhooks, tax configuration, and currency rules.
Multi-Tenancy
Single-database multi-tenancy with automatic data scoping, tenant resolution middleware, and isolation testing patterns.
Teams
Team membership, invitation flow, role management (owner/admin/member), and seat-based billing integration.
Settings
Three-level settings cascade (platform, tenant, user), defining custom settings, and caching strategy.
Notifications
Web push notification system with VAPID keys, service worker registration, and backend dispatch.
Content Management
Nuxt Content v3 integration for editorial content and Nuxt Studio visual editing for platform admins.
Internationalization
Four-locale support (EN, FR, ES, IT) across backend Laravel translations, frontend Nuxt i18n, and translatable models.
Testing
Testing strategy and conventions: PHPUnit for backend API and domain tests, Vitest for frontend composables and components.
API Reference
Complete endpoint documentation: products, plans, subscriptions, invoices, usage meters, tenants, and teams.
AI-Assisted Development
The AI-first developer experience: CLAUDE.md configuration, skills system, workplan execution, agent setup, and convention architecture.
Customization
Guides for making the boilerplate your own: adding features, customizing billing logic, and extending the frontend.