Packstub Tenancy demo

Laravel 13 · Filament 5 · stancl/tenancy v4

One login. A workspace per tenant. Every tenant on its own database.

A stock Filament panel with Packstub Tenancy plugged in. Sign in once, switch between two provisioned tenants, and create a third through the onboarding wizard — it gets its own database in a few seconds.

Sign in once central domain · /admin Acme acme.* DB 1 Globex globex.* DB 2 Yours created live DB 3 · new one deployment · isolated databases

Guided tour

Try the whole flow

Three minutes, nothing to install.

1
Open the demo and sign in. You land in Acme's panel at acme.tenancy-demo.packstub.dev.
2
Add a project, then switch to Globex. It isn't there — each tenant reads and writes its own database.
3
Create a third organization. Switcher → Create organization. The queue creates a database, migrates and seeds it, then redirects you in.
4
Rename it, change its slug, delete it. Profile inside the panel; deletion (drops the database) from the operator panel.

Integration

All the tenancy wiring, in one line

No stancl middleware in the panel, no tenant scopes in the models.

app/Providers/Filament/AdminPanelProvider.php
// The whole integration:
return $panel
    ->id('admin')
    ->path('admin')
    ->login()
    ->plugin(TenancyPlugin::make());

The rest of the repo is laravel new + filament:install --panels. Read all of it before you buy: github.com/packstub/filament-tenancy-demo.