stancl/tenancy

Automatic multi-tenancy for your Laravel application.
8,994,857 4,388
Install
composer require stancl/tenancy
Latest Version:v3.10.1
PHP:^8.4
License:MIT
Last Updated:Aug 8, 2026
Links: GitHub  ·  Packagist
Maintainer: stancl

Automatic multi-tenancy for your Laravel app.

You won't have to change a thing in your application's code.

  • :heavy_check_mark: No model traits to change database connection
  • :heavy_check_mark: No replacing of Laravel classes (Cache, Storage, ...) with tenancy-aware classes
  • :heavy_check_mark: Built-in tenant identification based on hostname (including second level domains)

Documentation

Documentation can be found here: https://v4.tenancyforlaravel.com

Need help?

Credits

Related Packages

hotash/octane-tenancy

Automatic multi-tenancy for your Laravel application.

19 0
leek/filament-subtenant-scope

Second-level tenancy scope (e.g. service area, region, location) for Filament pa...

1,152 27
elimuswift/tenancy

Run multiple websites using the same laravel installation while keeping tenant s...

21 0
angelitosystems/filament-tenancy

Tenancy package for Filament - multi-database tenants + central support

20 9