PHPackages                             commitm/multi-tenant - 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. commitm/multi-tenant

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

commitm/multi-tenant
====================

00[1 issues](https://github.com/michalmaterniak/multitenant-symfony-bundle/issues)PHP

Since Mar 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/michalmaterniak/multitenant-symfony-bundle)[ Packagist](https://packagist.org/packages/commitm/multi-tenant)[ RSS](/packages/commitm-multi-tenant/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

MultiTenant Bundle for Symfony 7
================================

[](#multitenant-bundle-for-symfony-7)

simplify to configure multitenant bundle

Deployment
----------

[](#deployment)

To deploy this project run

in `packages/multi_tenant.yaml` add:

```
multi_tenant:
    tenants:
        company_id:
            entity: App\Entity\Company
            aware: App\Entity\Interfaces\TenantAwares\CompanyAware
            property: company
```

`company_id` name tenant

`entity` entity name to limited others entities or automatically set tenant

`aware` to following entities what you want and limited results Aware interface have to implements `CommitM\MultiTenant\Multitenancy\TenantAware`

`property` name property tenant

---

```
CommitM\MultiTenant\Multitenancy\Provider\TenantsProvider

```

service to manage tenants

you can use like that:

```
$tenantsProvider->getTenantByClass(Company::class)->setEntity($this->company);

```

if tenant is set, you don't need remember using setter with tenant's entity $product = new Product(): $product-&gt;setCompany(); // this will be set automatically

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b69710b6d16c6d182bc6a9f714daf419abad0bff954dd68cdabc2fe28ba5c93?d=identicon)[michalmaterniak](/maintainers/michalmaterniak)

---

Top Contributors

[![michalmaterniak](https://avatars.githubusercontent.com/u/25308020?v=4)](https://github.com/michalmaterniak "michalmaterniak (1 commits)")

### Embed Badge

![Health badge](/badges/commitm-multi-tenant/health.svg)

```
[![Health](https://phpackages.com/badges/commitm-multi-tenant/health.svg)](https://phpackages.com/packages/commitm-multi-tenant)
```

###  Alternatives

[mydnic/laravel-kustomer

A fully featured feedback component for Laravel, gather user feedbacks, chat, etc

41049.2k1](/packages/mydnic-laravel-kustomer)[halimtuhu/array-images

A Laravel Nova field for distribute your images as array of object.

1441.2k](/packages/halimtuhu-array-images)[samueltissot/wp_route

2017.6k](/packages/samueltissot-wp-route)

PHPackages © 2026

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