stancl/tenancy

Automatic multi-tenancy for your Laravel application.

Installs: 4 570 940

Dependents: 36

Suggesters: 1

Security: 0

Stars: 4 018

Watchers: 76

Forks: 471

Open Issues: 14

v3.9.1 2025-03-13 16:02 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://tenancy-v4.pages.dev/

Need help?

Credits