archtechx / tenancy by stancl

Automatic multi-tenancy for your Laravel application.
3,905,410
3,871
76
Package Data
Maintainer Username: stancl
Maintainer Contact: samuel@archte.ch (Samuel Štancl)
Package Create Date: 2019-01-17
Package Last Update: 2025-04-04
Home Page: https://tenancyforlaravel.com
Language: PHP
License: MIT
Last Refreshed: 2025-04-22 15:03:17
Package Statistics
Total Downloads: 3,905,410
Monthly Downloads: 146,806
Daily Downloads: 5,046
Total Stars: 3,871
Total Watchers: 76
Total Forks: 458
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