The AI-ready Laravel SaaS kit.
Everything your SaaS needs, ready for your AI to build on
Saucebase is a modular Laravel SaaS starter kit. Sign-in, Stripe billing, a blog, an admin panel and the rest of what every SaaS needs are already built and tested, on a Vue or React UI you own. You add features as modules, and their code lands in your app to change as you like.
It is built for working with an AI agent. Every module ships Laravel Boost guidelines and skills, so Claude Code, Cursor or any coding agent knows how each part works and builds on it correctly from the first prompt.
- A Vue 3 or React 19 app on Inertia.js, Tailwind CSS 4 and shadcn components, with light and dark mode and server-side rendering where search needs it
- An admin panel built on Filament 5, with roles and permissions
- Settings for users (a settings modal) and for the site (admin pages)
- Navigation, breadcrumbs, translations and a sitemap, which modules add to
- A Storybook design system for the UI components, colours and type
- Tests from day one: PHPUnit and Playwright end-to-end tests for every module, PHPStan, Pint and ESLint
- One-command install, running on Docker, native PHP, Laravel Herd or Lerd
Pick the ones your product needs when you install, or add them later.
| Module | What it does |
|---|---|
| Auth | Login, registration, social login (Google, GitHub), passkeys, magic links, email verification, password reset, impersonation and user admin |
| Billing | Stripe checkout, subscriptions, free trials, a pricing page, invoices, plan limits and a revenue dashboard |
| Blog | Posts, categories, tags, scheduling, an RSS feed and SEO with structured data |
| Announcements | Site-wide banners, scheduled and targeted at visitors or signed-in users |
| Roadmap | A public roadmap with feature requests, upvotes, comments and team replies |
| Coming Soon | A coming soon page that keeps visitors out while you build |
| Themes | A visual theme editor for colours, fonts, radius and shadows, with live preview |
| AI Chat | A streaming AI chat with conversation history, web search, image generation and monthly limits per plan, on OpenAI, Anthropic, Gemini and more |
Every module works on both Vue and React.
A module is a Composer package. Installing it puts its code in your app's modules/ folder: models, migrations, controllers, pages, tests and the agent's guidelines. From then on the code is yours. Change a field, a page or a rule by editing the file, with nothing in vendor/ to work around. Updates are there when you want them, not forced on you.
A template is a whole product built from modules: its pages, plans, landing page and look, ready to change.
| Template | What it is |
|---|---|
| Chat | An AI chat product with Free and Pro plans, on AI Chat, Billing and Themes: saucebase new my-chat --template=saucebase/chat |
curl -fsSL https://install.saucebase.dev | bashIt installs PHP and Composer if they are missing, then asks how to run the app (Docker, native PHP, Laravel Herd or Lerd), Vue or React, and which modules to add.
Already have PHP and Composer?
composer global require saucebase/installer
saucebase new my-appPaste this into Claude Code, Cursor or any coding agent:
Create a new Saucebase app called my-app. Install the CLI with
`composer global require saucebase/installer`, then run
`saucebase new my-app --driver=native --stack=vue --all-modules --no-interaction`.
When it finishes, run `npm install` and `npm run build` in my-app, and tell me
the URL to open.
This installs everything with defaults: native PHP, Vue and every module. To choose the environment, framework and modules yourself, run the interactive installer above instead.
Building on an existing Saucebase app? Point your agent at the agent guide before it writes code.
| Repository | What it is |
|---|---|
| saucebase/core | The package every Saucebase app runs on: the starter UI, the module system and the admin panel |
| saucebase/installer | The saucebase CLI that creates and sets up apps |
| install | The one-line install script behind install.saucebase.dev |
| laravel-playwright | Playwright end-to-end testing for Laravel: factories, Artisan, config overrides and time travel |
| This repository | The contributor workspace (below) |
This repository is the contributor workspace: clone it to work on saucebase/core, the modules, or the app itself. To build an app with Saucebase, use the installer above rather than cloning it. Setup and workflow are in CONTRIBUTING.md.
MIT.
The documentation is being updated for v3.