PHPackages                             snowsoft/tenancy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. snowsoft/tenancy

ActiveLibrary[Framework](/categories/framework)

snowsoft/tenancy
================

Automatic multi-tenancy for your Laravel application.

0289↓16.7%PHP

Since Mar 18Pushed 3mo agoCompare

[ Source](https://github.com/snowsoft/tenancy)[ Packagist](https://packagist.org/packages/snowsoft/tenancy)[ RSS](/packages/snowsoft-tenancy/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

 [![Tenancy for Laravel logo](/art/logo.png)](https://tenancyforlaravel.com)

 [![Laravel 11.x](https://camo.githubusercontent.com/9cb8c3fd965570f0299aae3357cb0d72e6671523b40aae38ece73c6d8706460e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d31302e782d7265642e737667)](https://laravel.com) [![Latest Stable Version](https://camo.githubusercontent.com/3a2b0c87c3193d6dc08d94a5bd3305e4b2452e9aaafc17765345abf3254399d7/68747470733a2f2f706f7365722e707567782e6f72672f7374616e636c2f74656e616e63792f76657273696f6e)](https://packagist.org/packages/stancl/tenancy) [![GitHub Actions CI status](https://github.com/stancl/tenancy/workflows/CI/badge.svg)](https://github.com/stancl/tenancy/actions) [![Donate](https://camo.githubusercontent.com/a5409ebe038bee6ef1c6241ee8ce4680f7cdde143f8d3cab05ab82ac6e321ee7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d253343332d726564)](https://github.com/stancl/tenancy/blob/3.x/DONATIONS.md)

[Tenancy for Laravel — stancl/tenancy](https://tenancyforlaravel.com)
=====================================================================

[](#tenancy-for-laravel--stancltenancy)

### *Automatic multi-tenancy for your Laravel app.*

[](#automatic-multi-tenancy-for-your-laravel-app)

You won't have to change a thing in your application's code.

- ✔️ No model traits to change database connection
- ✔️ No replacing of Laravel classes (`Cache`, `Storage`, ...) with tenancy-aware classes
- ✔️ Built-in tenant identification based on hostname (including second level domains)

### [Documentation](https://v4.tenancyforlaravel.com)

[](#documentation)

Documentation can be found here:

### [Need help?](https://github.com/stancl/tenancy/blob/3.x/SUPPORT.md)

[](#need-help)

### Credits

[](#credits)

- Package created by [Samuel Štancl](https://twitter.com/samuelstancl)
- Design help &amp; current logo by [Florian Karsten](https://floriankarsten.com/)

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance55

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 Bus Factor1

Top contributor holds 86.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4568234?v=4)[snowsoft](/maintainers/snowsoft)[@snowsoft](https://github.com/snowsoft)

---

Top Contributors

[![stancl](https://avatars.githubusercontent.com/u/33033094?v=4)](https://github.com/stancl "stancl (1149 commits)")[![lukinovec](https://avatars.githubusercontent.com/u/34375937?v=4)](https://github.com/lukinovec "lukinovec (100 commits)")[![abrardev99](https://avatars.githubusercontent.com/u/54532330?v=4)](https://github.com/abrardev99 "abrardev99 (28 commits)")[![antonkomarev](https://avatars.githubusercontent.com/u/1849174?v=4)](https://github.com/antonkomarev "antonkomarev (9 commits)")[![drbyte](https://avatars.githubusercontent.com/u/404472?v=4)](https://github.com/drbyte "drbyte (6 commits)")[![stein-j](https://avatars.githubusercontent.com/u/44996807?v=4)](https://github.com/stein-j "stein-j (4 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (4 commits)")[![CristianTudorache](https://avatars.githubusercontent.com/u/11646571?v=4)](https://github.com/CristianTudorache "CristianTudorache (3 commits)")[![erikgaal](https://avatars.githubusercontent.com/u/1234268?v=4)](https://github.com/erikgaal "erikgaal (3 commits)")[![caneco](https://avatars.githubusercontent.com/u/502041?v=4)](https://github.com/caneco "caneco (3 commits)")[![domkrm](https://avatars.githubusercontent.com/u/10560668?v=4)](https://github.com/domkrm "domkrm (2 commits)")[![JorgenSolli](https://avatars.githubusercontent.com/u/14874283?v=4)](https://github.com/JorgenSolli "JorgenSolli (2 commits)")[![viicslen](https://avatars.githubusercontent.com/u/39545521?v=4)](https://github.com/viicslen "viicslen (2 commits)")[![jonagoldman](https://avatars.githubusercontent.com/u/1297559?v=4)](https://github.com/jonagoldman "jonagoldman (2 commits)")[![snowsoft](https://avatars.githubusercontent.com/u/4568234?v=4)](https://github.com/snowsoft "snowsoft (2 commits)")[![wilsenhc](https://avatars.githubusercontent.com/u/13445515?v=4)](https://github.com/wilsenhc "wilsenhc (1 commits)")[![bonroyage](https://avatars.githubusercontent.com/u/4411748?v=4)](https://github.com/bonroyage "bonroyage (1 commits)")[![CreepPork](https://avatars.githubusercontent.com/u/1590711?v=4)](https://github.com/CreepPork "CreepPork (1 commits)")[![kg-bot](https://avatars.githubusercontent.com/u/5282920?v=4)](https://github.com/kg-bot "kg-bot (1 commits)")[![MrPunyapal](https://avatars.githubusercontent.com/u/53343069?v=4)](https://github.com/MrPunyapal "MrPunyapal (1 commits)")

### Embed Badge

![Health badge](/badges/snowsoft-tenancy/health.svg)

```
[![Health](https://phpackages.com/badges/snowsoft-tenancy/health.svg)](https://phpackages.com/packages/snowsoft-tenancy)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k104.3M829](/packages/laravel-socialite)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k38.6M289](/packages/laravel-dusk)[pinguo/php-msf

Pinguo Micro Service Framework For PHP

1.7k4.2k](/packages/pinguo-php-msf)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
