Laravel Tenant Context By Default

Use when designing or writing code in a database-per-tenant Laravel project (stancl/tenancy) — a table, a query, a job, a console command, a tool call, an admin screen, a migration. Central answers only what must be answerable before any tenant is open; everything else descends into the tenant database. Never scope tenant data with a tenant_id column, and never let an HTTP middleware be the only door into a tenant — anything that isn't a request then runs central by default.

techmefr Updated

File contents

techmefr/mentis commit 579eec3a81

Frequently asked questions

npx get-skill add techmefr/laravel-tenant-context-by-default