archtechx / tenancy by stancl

Automatic multi-tenancy for your Laravel application.
4,451,992
3,995
78
Package Data
Maintainer Username: stancl
Maintainer Contact: samuel@archte.ch (Samuel Štancl)
Package Create Date: 2019-01-17
Package Last Update: 2025-07-17
Home Page: https://tenancyforlaravel.com
Language: PHP
License: MIT
Last Refreshed: 2025-07-21 15:24:41
Package Statistics
Total Downloads: 4,451,992
Monthly Downloads: 191,144
Daily Downloads: 6,891
Total Stars: 3,995
Total Watchers: 78
Total Forks: 471
Total Open Issues: 17

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