stancl/tenancy

Automatic multi-tenancy for your Laravel application.

Maintainers

Package info

github.com/archtechx/tenancy

pkg:composer/stancl/tenancy

Statistics

Installs: 6 549 535

Dependents: 44

Suggesters: 5

Stars: 4 291

Open Issues: 17

v3.10.0 2026-03-18 18:16 UTC

README

Tenancy for Laravel logo

Laravel 11.x Latest Stable Version GitHub Actions CI status Donate

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