PHPackages                             keystone/multitenancy - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. keystone/multitenancy

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

keystone/multitenancy
=====================

0.1.4(9y ago)010MITPHPPHP &gt;=7.1

Since Apr 23Pushed 9y ago1 watchersCompare

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

READMEChangelogDependencies (11)Versions (6)Used By (0)

Multitenancy
============

[](#multitenancy)

A helpful library for multitenancy support in Symfony applications.

What it does:

- Determine the tenant from a route parameter.
- Scope ORM queries to the current tenant.
- Scope new entities to the current tenant.
- Sets the default route parameter.
- Controller argument resolver for the tenant.

Installation
------------

[](#installation)

Use Composer to install the package:

```
composer require keystone/multitenancy

```

Add the Symfony bundle to your kernel and configure it:

```
public function registerBundles()
{
    $bundles[] = new Keystone\Multitenancy\Bundle\KeystoneMultitenancyBundle();
}
```

```
keystone_multitenancy:
  tenant_repository_id: app.repository.tenant
  tenant_route_parameter: tenantSubdomain
  tenant_filter_column: tenant_id
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~11 days

Total

5

Last Release

3310d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0108faaeaf073146f428b1f04b42ba469d97bf2a9d14f31183a2b541f3de8197?d=identicon)[tompedals](/maintainers/tompedals)

---

Top Contributors

[![tompedals](https://avatars.githubusercontent.com/u/6132043?v=4)](https://github.com/tompedals "tompedals (19 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/keystone-multitenancy/health.svg)

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M378](/packages/easycorp-easyadmin-bundle)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k246.0M11.1k](/packages/symfony-framework-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9417.2k56](/packages/open-dxp-opendxp)[shopware/storefront

Storefront for Shopware

674.4M213](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M526](/packages/shopware-core)

PHPackages © 2026

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