archtechx/tenancy
Automatic multi-tenancy for Laravel. No code changes needed. observed · 2026-08-28
Health v2 · maintenance only
90/100
- Activity 99
- Release rhythm 72
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 142.0
- age_days: 2785
- days_rel: 28
- days_push: 7
- n_releases_24m: 5
Adoption not part of the score
4399 stars · 492 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Tenancy for Laravel (stancl/tenancy) is a PHP package that adds automatic multi-tenancy to Laravel applications with no code changes required. It handles tenant identification by domain/subdomain/path/request data and automatically scopes databases, caches, filesystems, queues, and Redis stores per tenant.
Use cases
- convert an existing Laravel app into a multi-tenant SaaS
- serve multiple customers on separate subdomains of one Laravel app
- give each tenant its own database with automatic connection switching
- identify tenants by domain, subdomain, path, or request data
- separate tenant caches, filesystems, and queues automatically
- build a multi-tenant SaaS boilerplate with Laravel Nova or Horizon support
When to choose
- you're building a SaaS on Laravel and need tenant data isolation
- you want multi-tenancy without rewriting application code or adding model traits
- you need flexible tenant identification (domains, subdomains, paths, request data)
- you want a well-tested, actively maintained tenancy package with event-based extensibility
When to avoid
- your project isn't built on Laravel
- you need single-tenant hosting with no shared data concerns
- you want a minimal manual-tenancy toolkit rather than automatic bootstrapping
- you're not using a relational/database-backed Laravel setup
Facets
library · maturity stable
middleware database caching routing plugin-system web-development backend developer-tools self-hosted php multi-tenancy saas laravel-package tenant-isolation domain-identification laravel
10 sources
- readme: https://github.com/archtechx/tenancy · fetched 2026-08-28 · 8872c9b9b54c
- homepage: https://tenancyforlaravel.com · fetched 2026-08-29 · 38503818295e
- site_page: https://tenancyforlaravel.com/docs/v3/tenants · fetched 2026-08-29 · 48a24441b7e3
- site_page: https://tenancyforlaravel.com/docs/v3/package-comparison · fetched 2026-08-29 · 8c0b2f5212a6
- site_page: https://tenancyforlaravel.com/docs/v3/event-system · fetched 2026-08-29 · a64e2d2b4dbf
- site_page: https://tenancyforlaravel.com/docs/v3/integrating · fetched 2026-08-29 · 366328a3edfd
- site_page: https://tenancyforlaravel.com/docs/v3/configuration · fetched 2026-08-29 · 30817be2c671
- site_page: https://tenancyforlaravel.com/docs/v3/tenant-identification · fetched 2026-08-29 · 1a6d9bf2ff39
- site_page: https://tenancyforlaravel.com/docs/v3 · fetched 2026-08-29 · c06e665686d5
- site_page: https://tenancyforlaravel.com/contact · fetched 2026-08-29 · a12cd96873f0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| archtechx/tenancy | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="archtechx/tenancy")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem