/tenancy

Automatic tenancy for your Laravel app. No code changes needed.

Primary LanguagePHPMIT LicenseMIT

Tenancy logo

Laravel 6.x Latest Stable Version Travis CI build codecov Donate

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 can be found here: https://tenancy.samuelstancl.me/docs/v2/

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

Credits