stancl / tenancy
Automatic multi-tenancy for your Laravel application.
                                    Fund package maintenance!
                                                                            
                                                                                                                                        stancl
                                                                                    
                                                                            
                                                                                                                                        tenancyforlaravel.com/donate
                                                                                    
                                                                
Installs: 5 199 513
Dependents: 38
Suggesters: 3
Security: 0
Stars: 4 123
Watchers: 73
Forks: 477
Open Issues: 12
pkg:composer/stancl/tenancy
Requires
- php: ^8.0
 - ext-json: *
 - facade/ignition-contracts: ^1.0.2
 - illuminate/support: ^10.0|^11.0|^12.0
 - ramsey/uuid: ^4.7.3
 - stancl/jobpipeline: ^1.8.0
 - stancl/virtualcolumn: ^1.5.0
 
Requires (Dev)
- doctrine/dbal: ^3.6.0
 - laravel/framework: ^10.0|^11.0|^12.0
 - league/flysystem-aws-s3-v3: ^3.12.2
 - orchestra/testbench: ^8.0|^9.0|^10.0
 - spatie/valuestore: ^1.3.2
 
- dev-master
 - 3.x-dev
 - v3.9.1
 - v3.9.0
 - v3.8.5
 - v3.8.4
 - v3.8.3
 - v3.8.2
 - v3.8.1
 - v3.8.0
 - v3.7.4
 - v3.7.3
 - v3.7.2
 - v3.7.1
 - v3.7.0
 - v3.6.1
 - v3.6.0
 - v3.5.9
 - v3.5.8
 - v3.5.7
 - v3.5.6
 - v3.5.5
 - v3.5.4
 - v3.5.3
 - v3.5.2
 - v3.5.1
 - v3.5.0
 - v3.4.6
 - v3.4.5
 - v3.4.4
 - v3.4.3
 - v3.4.2
 - v3.4.1
 - v3.4.0
 - v3.3.0
 - v3.2.1
 - v3.2.0
 - v3.1.7
 - v3.1.6
 - v3.1.5
 - v3.1.4
 - v3.1.3
 - v3.1.2
 - v3.1.1
 - v3.1.0
 - v3.0.0
 - v3.0.0-rc1
 - 2.x-dev
 - v2.3.12
 - v2.3.11
 - v2.3.10
 - v2.3.9
 - v2.3.8
 - v2.3.7
 - v2.3.6
 - v2.3.5
 - v2.3.4
 - v2.3.3
 - v2.3.2
 - v2.3.1
 - v2.3.0
 - v2.2.8
 - v2.2.7
 - v2.2.6
 - v2.2.5
 - v2.2.4
 - v2.2.3
 - v2.2.2
 - v2.2.1
 - v2.2.0
 - v2.1.2
 - v2.1.1
 - v2.1.0
 - v2.0.1
 - v2.0.0
 - v2.0.0-rc2
 - v2.0.0-rc1
 - 1.x-dev
 - v1.8.0
 - v1.7.3
 - v1.7.2
 - v1.7.1
 - v1.7.0
 - v1.6.1
 - v1.6.0
 - v1.5.1
 - v1.5.0
 - v1.4.0
 - v1.3.1
 - v1.3.0
 - v1.2.0
 - v1.1.3
 - v1.1.2
 - v1.1.1
 - v1.1.0
 - v1.0.0
 - dev-push-pxqlolqsmzuq
 - dev-push-wsklslwklmwo
 - dev-resource-syncing-refactor
 - dev-add-log-bootstrapper
 - dev-august
 - dev-database-cache-bootstrapper
 - dev-configurable-tenants-relationship
 - dev-may25
 - dev-configurable-force-rls-2
 - dev-path-identification-tests
 - dev-laravel-11-bc
 - dev-doctum
 - dev-merge-3.x
 
This package is auto-updated.
Last update: 2025-11-03 23:54:52 UTC
README
Tenancy for Laravel — stancl/tenancy
Automatic multi-tenancy for your Laravel app.
You won't have to change a thing in your application's code.
- ✔️ No model traits to change database connection
 - ✔️ No replacing of Laravel classes (
Cache,Storage, ...) with tenancy-aware classes - ✔️ Built-in tenant identification based on hostname (including second level domains)
 
Documentation
Documentation can be found here: https://v4.tenancyforlaravel.com
Need help?
Credits
- Package created by Samuel Štancl
 - Design help & current logo by Florian Karsten
 
