aloisogomes/laravel-db-tenant
Database-level multi-tenancy for Laravel. aloisogomes/laravel-db-tenant keeps each tenant's data isolated in its own database connection, switching contexts automatically so your models and queries stay tenant-aware without extra boilerplate.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| tenancy/tenancy | 0.85 | Tenancy for Laravel adds automatic multi-tenancy to Laravel apps: isolate tenants by domain or subdomain, use single or multi-database setups, and make queues, jobs, commands, and storage tenant-aware with minimal configuration. | 1,341 | — | 93 | — | 7 | 23.2 | 6.2 | MIT | 5 months ago | |
| solutosoft/laravel-multitenant | 0.84 | A Laravel package for building multi-tenant applications with tenant resolution and tenant-aware database connections, models, and migrations. It helps isolate tenant data across domains or subdomains while keeping a single codebase. | 24 | — | 6 | — | 0 | 0.4 | — | — | 2 years ago | |
| romegadigital/multitenancy | 0.83 | A simple multi-tenancy package for Laravel that scopes Eloquent models to the current tenant using a tenant_id column and global scopes. Includes middleware for tenant resolution, a Tenant model, and tenant-aware helpers for isolating data in a single database. | 373 | — | 28 | — | 0 | 1.4 | — | MIT | 3 years ago |
|
| worldesports/laravel-auto-tenancy | 0.83 | Automatic multi-tenancy for Laravel. Automatically scopes models, queries, and database connections to the current tenant with minimal configuration, so you can add tenant isolation to existing apps without rewriting your code. A lightweight package for building SaaS and multi-tenant apps. | 33 | 34 | 1 | 0 | 0 | 0.2 | — | NOASSERTION | — | |
| genealabs/laravel-multi-tenant-manager | 0.83 | Multi-tenant manager for Laravel from GeneaLabs, aimed at tenant resolution and scoping in multi-tenant apps. Early-stage package with limited adoption, so review its maintenance status and test coverage before relying on it in production. | 1 | 1 | 0 | 0 | 0 | 0.3 | — | — | 5 years ago | |
| roberts/laravel-singledb-tenancy | 0.83 | — | 0 | 0 | 0 | 54 | 1 | 10.3 | 26.0 | MIT | 6 months ago | |
| muhdfaiz/laravel-tail-db | 0.82 | Laravel Tail DB is a Laravel package for monitoring database activity in real time. It streams queries and database events through an Artisan command, making it easier to debug queries and watch interactions as they happen during development. | 58 | — | 3 | — | 0 | 0.7 | — | MIT | 5 years ago | |
| laraflock/multi-tenant | 0.82 | A Laravel package for building multi-tenant applications with tenant-aware database connections, migrations, and model scoping. It helps isolate tenant data and switch between tenants easily, supporting both single-database and multi-database setups. | 2,602 | — | 394 | — | 68 | 42.3 | 25.6 | MIT | 3 years ago | |
| tenancy/framework | 0.82 | Tenancy for Laravel provides a robust multi-tenant foundation: automatic tenant identification by domain or subdomain, database and connection switching, tenant-aware queues, caching, filesystem, and lifecycle events—with clean APIs for building SaaS applications and isolating tenant data. | 13 | — | 5 | — | 0 | 0.2 | — | MIT | — | |
| rinvex/laravel-tenants | 0.82 | — | 0 | 82 | — | 12 | — | 0.0 | 15.4 | — | — | |
| commitm/multi-tenant | 0.82 | — | 0 | 0 | 0 | 0 | 1 | 0.1 | — | — | — | |
| tenantedlaravel/core | 0.82 | Core package for Tenanted Laravel, a multi-tenancy toolkit for Laravel. Resolve tenants by domain or subdomain, scope Eloquent queries to the active tenant, switch database connections automatically, and keep tenant data isolated—all within a single codebase. Ideal for SaaS apps. | 367 | — | 14 | — | 9 | 15.7 | 2.9 | MIT | 5 months ago | |
| spatie/laravel-multitenancy | 0.82 | An unopinionated Laravel package that makes your app tenant aware. It determines the current tenant per request, handles switching tenants, and supports single or multi-database setups, plus tenant-aware queued jobs and artisan commands. | 1,374 | 1,377 | 185 | 433K | 0 | 43.5 | 40.6 | MIT | 2 days ago | |
| hyn/multi-tenant | 0.82 | — | 2,602 | 2,615 | 394 | 13K | 68 | 44.4 | 35.3 | MIT | 3 years ago | |
| laranail/db-console | 0.81 | A database console for Laravel: browse tables, run ad-hoc SQL, and inspect results in a lightweight Artisan-served UI. Configurable connection allowlists, read-only mode, and query guards keep production data safe, while Composer install and a published config get you running in minutes. | 0 | — | 0 | — | 0 | 19.2 | — | MIT | 2 weeks ago |
|
| maize-tech/laravel-tenant-aware | 0.81 | maize-tech/laravel-tenant-aware helps Laravel apps support multi-tenancy by resolving the active tenant, automatically scoping Eloquent models and queries, and keeping tenant data isolated with simple configuration and middleware. | 14 | — | 4 | — | 0 | 13.1 | — | MIT | 4 months ago |
How can I help you explore Laravel packages today?