Skip to content
Packstub

Free & open source MIT · Laravel 13 · Filament 5

Filament SaaS Starter

A free starting point for a multi-tenant SaaS on Laravel 13 and Filament 5. Your customers sign up, get a workspace, invite their team and pay for a plan that sets their limits. One command gives you a regular Laravel app that you own and change from the first commit.

laravel new my-app --using=packstub/filament-saas-starter
Package
packstub/filament-saas-starter
Requires
PHP 8.3+ Laravel 13 · Filament 5
License
MIT, free for any project
Database
SQLite to start, MySQL or PostgreSQL
Get it from
Packagist, or as a GitHub template

What you get in the first hour

The parts a SaaS needs before its first customer, wired together and covered by tests, so you can start on your own product.

One command, then sign in

The Laravel installer creates the project, migrates an SQLite database and seeds three demo accounts. Serve it with Laravel Herd or composer dev, and the log-in pages show the accounts as one-click buttons while you work locally.

Prefer to start from GitHub? Click Use this template on the repository, clone your copy and run composer setup.

Terminal
laravel new my-app --using=packstub/filament-saas-starter
cd my-app
composer dev
Sign in at E-mail Who
/app [email protected] Owner of the Acme workspace, on the Pro plan
/app [email protected] Member of Acme
/admin [email protected] Admin: users, workspaces, support logins

Every demo password is password. The demo accounts are never seeded in production.

Plans are one config file

Free, Pro and Business ship as an example in config/packstub-features.php, with limits on projects and seats, API access on Pro and Business, and priority support on Business. The Your plan page and the home page’s pricing read from it. Wherever a limit matters, your code asks Filament Features:

example
use Packstub\Features\Facades\Features; Features::limit('projects');             // 50, or null for unlimitedFeatures::canUse('projects');            // is there room for one more?Features::active('priority_support');    // is the feature included?

What it is built from

Three free Packstub plugins, Laravel Cashier and Filament’s built-in tenancy, each with its own documentation.

Filament Teams Free · MIT · ^1.2

The Members and Invitations pages, the Owner, Admin and Member roles, and the invitation e-mails.

Filament Features Free · MIT · ^1.2

Plans and limits per workspace, the Your plan page, and feature flags and per-workspace overrides in the admin panel.

Filament Account Switcher Free · MIT · ^4.4

Support logins: sign in as a customer from the admin panel, switch back, and keep a log of every switch.

Laravel Cashier by Laravel

Stripe Checkout, the customer portal, subscriptions and webhooks, with the workspace as the Stripe customer.

Filament’s built-in tenancy by Filament

The workspace in the URL, and every resource in the panel scoped to it, with no extra package.

Laravel Sanctum issues the API tokens, Laravel Socialite handles Google and GitHub sign-in, and Laravel Boost comes as a dev dependency, next to the kit’s own guidelines for coding agents.

Requirements

The database is SQLite out of the box. For MySQL or PostgreSQL, change DB_CONNECTION in .env.

PHP
8.3 or newer
Laravel
13
Filament
5
Node
20.19 or newer, to build the home page’s CSS

In production the app needs MySQL or PostgreSQL, a queue worker, the scheduler and a mail provider, and a Stripe webhook once you sell plans. The repository has deploy guides for Laravel Cloud and for your own server with Forge, Ploi or by hand, plus a production checklist.

Add a module when your product needs it

The kit leaves out what only some products need. Each of the six modules is a short recipe in docs/modules: the composer require line, one line in app/Filament/Plugins.php, the migrations, a plan limit where one fits, what happens when a workspace or an account is deleted, and a test to copy.

Later, if you need it

A database per workspace

All workspaces share one database. It is the simplest setup and the right one for most products. When a customer needs their data kept apart, or one database stops being enough, Filament Tenancy, our Pro plugin built on stancl/tenancy, adopts the app as it is. It lets you move a workspace to a shard (a shared database on another server) or to a database of its own.

The kit is laid out for that move from the start: what a workspace owns sits in database/migrations/workspace, with ULID keys and no foreign keys to the tables that stay in the shared database. A test keeps every new table in line. Filament Tenancy needs PHP 8.4 or newer; the kit itself runs on 8.3.

Adopting an existing app Database strategies

Questions about the starter

Is the Filament SaaS Starter free?
Yes. It is open source under the MIT license, for personal, client and commercial projects. Filament Teams, Filament Features and Filament Account Switcher, the three Packstub plugins it is built from, are MIT too and install from Packagist.
Can I change everything?
Yes. A new project is a regular Laravel app in your own repository: the panels, the plans, the home page and every line of copy are yours to change. The kit does not update itself, so each release in the changelog says what you may want to copy over.
Do I need a Stripe account to run it locally?
No. Without Stripe keys the app runs, every workspace keeps its plan, and the Billing page lists the keys still missing from .env. The test suite answers Stripe's calls itself, so it needs no account either. Add test-mode keys and the Stripe CLI when you want to try Checkout.
One database, or a database per workspace?
One. All workspaces share one database, and Filament scopes everything in the panel to the current workspace, which is the simplest setup and the right one for most products. If you later need a database per workspace, Filament Tenancy (Pro) adopts the app as it is, and the kit's tables are already laid out for that move.
What can I add later?
Six optional modules, each a short recipe in docs/modules: themes with Nitpick, Session Replay, workflows with Flow, forms with Form Builder, a Projects board with Kanban and an AI assistant with Filament Agents, paid for by monthly AI credits from the plan through Credits for Laravel. Nothing is pre-wired, so a module you skip costs nothing.
Which databases does it run on?
SQLite out of the box, so a new project runs without a database server. Change DB_CONNECTION in .env for MySQL or PostgreSQL, which is what production needs.

Start from a working app, and make it yours.