archtechx / tenancy by stancl

Automatic multi-tenancy for your Laravel application.
5,798,012
4,234
72
Package Data
Maintainer Username: stancl
Maintainer Contact: samuel@archte.ch (Samuel Štancl)
Package Create Date: 2019-01-17
Package Last Update: 2026-01-14
Home Page: https://tenancyforlaravel.com
Language: PHP
License: MIT
Last Refreshed: 2026-01-18 03:01:32
Package Statistics
Total Downloads: 5,798,012
Monthly Downloads: 205,930
Daily Downloads: 4,233
Total Stars: 4,234
Total Watchers: 72
Total Forks: 485
Total Open Issues: 16

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