archtechx / tenancy by stancl

Automatic multi-tenancy for your Laravel application.
6,209,046
4,275
74
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-02-25 03:12:31
Package Statistics
Total Downloads: 6,209,046
Monthly Downloads: 337,023
Daily Downloads: 15,111
Total Stars: 4,275
Total Watchers: 74
Total Forks: 485
Total Open Issues: 14

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