archtechx / tenancy by stancl

Automatic multi-tenancy for your Laravel application.
4,973,694
4,087
73
Package Data
Maintainer Username: stancl
Maintainer Contact: samuel@archte.ch (Samuel Štancl)
Package Create Date: 2019-01-17
Package Last Update: 2025-09-26
Home Page: https://tenancyforlaravel.com
Language: PHP
License: MIT
Last Refreshed: 2025-10-04 15:16:20
Package Statistics
Total Downloads: 4,973,694
Monthly Downloads: 213,883
Daily Downloads: 5,062
Total Stars: 4,087
Total Watchers: 73
Total Forks: 476
Total Open Issues: 13

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://tenancy.samuelstancl.me/docs/v2/

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

Credits