Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 57 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,60 @@
[![React 19](https://img.shields.io/badge/React-19-61DAFB?logo=react&logoColor=black)](https://react.dev)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

**[Documentation](https://saucebase-dev.github.io/docs/)** · **[Guide for AI agents](https://saucebase-dev.github.io/docs/for-agents.md)**

</div>

Billing, workspaces, a blog and an admin are already built and tested, on a Vue or React UI you own. Every module ships Laravel Boost guidelines and skills, so Claude Code, Cursor or any agent builds on them correctly from the first prompt.
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](https://github.com/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.

## What you get

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

## Modules

Pick the ones your product needs when you install, or add them later.

| Module | What it does |
| --- | --- |
| [Auth](https://github.com/saucebase-dev/auth) | Login, registration, social login (Google, GitHub), passkeys, magic links, email verification, password reset, impersonation and user admin |
| [Billing](https://github.com/saucebase-dev/billing) | Stripe checkout, subscriptions, free trials, a pricing page, invoices, plan limits and a revenue dashboard |
| [Blog](https://github.com/saucebase-dev/blog) | Posts, categories, tags, scheduling, an RSS feed and SEO with structured data |
| [Announcements](https://github.com/saucebase-dev/announcements) | Site-wide banners, scheduled and targeted at visitors or signed-in users |
| [Roadmap](https://github.com/saucebase-dev/roadmap) | A public roadmap with feature requests, upvotes, comments and team replies |
| [Coming Soon](https://github.com/saucebase-dev/coming-soon) | A coming soon page that keeps visitors out while you build |
| [Themes](https://github.com/saucebase-dev/themes) | A visual theme editor for colours, fonts, radius and shadows, with live preview |
| [AI Chat](https://github.com/saucebase-dev/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.
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved

> [!NOTE]
> This repository is the **contributor workspace** for developing Saucebase. The framework itself is the [`saucebase/core`](https://github.com/saucebase-dev/core) package, and each module has its own repository. To build an app with Saucebase, use the installer below rather than cloning this repository.
### How modules work

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.

### Templates

A template is a whole product built from modules: its pages, plans, landing page and look, ready to change.

| Template | What it is |
| --- | --- |
| [Chat](https://github.com/saucebase-dev/chat) | An AI chat product with Free and Pro plans, on AI Chat, Billing and Themes: `saucebase new my-chat --template=saucebase/chat` |

## Install

```bash
curl -fsSL https://install.saucebase.dev | bash
```

It installs PHP and Composer if they are missing, then asks how to run the app (Docker, native PHP or Laravel Herd), Vue or React, and which modules to add.
It 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?

Expand All @@ -36,7 +76,6 @@ composer global require saucebase/installer
saucebase new my-app
```


### With an AI agent

Paste this into Claude Code, Cursor or any coding agent:
Expand All @@ -51,9 +90,21 @@ 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](https://saucebase-dev.github.io/docs/for-agents.md) before it writes code.

## Repositories

| Repository | What it is |
| --- | --- |
| [saucebase/core](https://github.com/saucebase-dev/core) | The package every Saucebase app runs on: the starter UI, the module system and the admin panel |
| [saucebase/installer](https://github.com/saucebase-dev/installer) | The `saucebase` CLI that creates and sets up apps |
| [install](https://github.com/saucebase-dev/install) | The one-line install script behind `install.saucebase.dev` |
| [laravel-playwright](https://github.com/saucebase-dev/laravel-playwright) | Playwright end-to-end testing for Laravel: factories, Artisan, config overrides and time travel |
| This repository | The contributor workspace (below) |

## Contributing

This repository is the contributor workspace: clone it to work on [`saucebase/core`](https://github.com/saucebase-dev/core), the modules, or the app itself. Setup and workflow are in [CONTRIBUTING.md](CONTRIBUTING.md).
This repository is the contributor workspace: clone it to work on [`saucebase/core`](https://github.com/saucebase-dev/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](CONTRIBUTING.md).

## License

Expand Down
27 changes: 22 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://getcomposer.org/schema.json",
"name": "saucebase/saucebase",
"type": "project",
"description": "A complete modular Laravel foundation for building SaaS applications.",
"description": "The AI-ready Laravel SaaS starter kit: auth, Stripe billing, blog, admin panel and more as modules you own, on Vue or React with Inertia, Tailwind CSS and shadcn. Every module ships Laravel Boost guidelines, so Claude Code, Cursor or any AI agent builds on it correctly.",
"license": "MIT",
"require": {
"php": "^8.4",
Expand Down Expand Up @@ -122,11 +122,28 @@
}
],
"keywords": [
"laravel starter kit",
"laravel boilerplate",
"saas starter kit",
"saas boilerplate"
"laravel",
"laravel-starter-kit",
"laravel-saas",
"saas",
"saas-boilerplate",
"saas-starter-kit",
"saas-template",
"starter-kit",
"boilerplate",
"inertiajs",
"vuejs",
"reactjs",
"typescript",
"tailwindcss",
"shadcn",
"filament",
"stripe",
"ai-agents",
"laravel-boost",
"claude-code"
],
"homepage": "https://saucebase-dev.github.io/docs/",
"repositories": [
{
"type": "path",
Expand Down