/tenancy

Automatic multi-tenancy for Laravel. No code changes needed.

Primary LanguagePHPMIT LicenseMIT

Tenancy for Laravel logo

Laravel 6.x/7.x Latest Stable Version GitHub Actions CI status codecov 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://tenancyforlaravel.com/docs/v3/

The repository with the documentation source code can be found here: stancl/tenancy-docs.

Need help?

Credits