spatie/laravel-multitenancy
Unopinionated multitenancy for Laravel. Detect the current tenant per request and define what happens when switching tenants. Supports single or multiple databases, tenant-aware queued jobs, commands that run per tenant, and easy per-model connection setup.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| stancl/tenancy | 0.86 | Automatic multi-tenancy for Laravel apps with minimal code changes. Provides tenant identification (e.g., by hostname/subdomains), isolated tenant bootstrapping, and tenancy-aware database/config switching without swapping core Laravel classes or adding model traits. | 4,312 | 4,318 | 486 | 386K | 6 | 68.4 | 39.4 | MIT | 3 weeks ago | |
| gecche/laravel-multidomain | 0.84 | Run one Laravel codebase across multiple domains/tenants. Automatically load per-domain .env, storage paths, and database connections so each customer can have isolated config, data, and files while sharing the same application code. | 1,114 | 1,117 | 134 | 8K | 10 | 12.4 | 15.3 | MIT | — | |
| kylekatarnls/multi-tester | 0.74 | Run dependent projects’ test suites against your current package changes. Multi-tester swaps your package into other projects’ vendor dirs and executes their unit/CI (Travis-friendly) commands, helping catch breaking changes early in Composer ecosystems. | 4 | 4 | 5 | 31K | 0 | 29.2 | 61.6 | MIT | 3 weeks ago |
How can I help you explore Laravel packages today?