PHPackages                             klsoft/yii3-rbac-doctrine - 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. [Database &amp; ORM](/categories/database)
4. /
5. klsoft/yii3-rbac-doctrine

ActiveLibrary[Database &amp; ORM](/categories/database)

klsoft/yii3-rbac-doctrine
=========================

The package provides Yii RBAC storage using the Doctrine ORM

1.0.0(2mo ago)031MITPHP

Since Mar 16Pushed 3mo agoCompare

[ Source](https://github.com/klsoft-web/yii3-rbac-doctrine)[ Packagist](https://packagist.org/packages/klsoft/yii3-rbac-doctrine)[ Docs](https://github.com/klsoft-web/yii3-rbac-doctrine)[ RSS](/packages/klsoft-yii3-rbac-doctrine/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (1)

YII3-RBAC-DOCTRINE
==================

[](#yii3-rbac-doctrine)

The package provides [Yii RBAC](https://github.com/yiisoft/rbac) storage using the [Doctrine ORM](https://www.doctrine-project.org/).

Requirement
-----------

[](#requirement)

- PHP 8.2 or higher.

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

[](#installation)

```
composer require klsoft/yii3-rbac-doctrine
```

How to use
----------

[](#how-to-use)

### 1. [Configure](https://github.com/klsoft-web/yii3-doctrine?tab=readme-ov-file#1-configure-the-entitymanagerinterface) the EntityManagerInterface.

[](#1-configure-the-entitymanagerinterface)

### 2. Use the Doctrine console command to create or update the database schema.

[](#2-use-the-doctrine-console-command-to-create-or-update-the-database-schema)

Create the database schema:

```
APP_ENV=dev ./yii doctrine:orm:schema-tool:create
```

Update the database schema:

```
APP_ENV=dev ./yii doctrine:orm:schema-tool:update --force
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance85

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity33

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

63d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f4e8ac50e4ad22be84b07f4c06d28cf280d22f689c460cd385c556727e638827?d=identicon)[klsoft-web](/maintainers/klsoft-web)

---

Top Contributors

[![klsoft-web](https://avatars.githubusercontent.com/u/7967163?v=4)](https://github.com/klsoft-web "klsoft-web (1 commits)")

---

Tags

ormdoctrineauthorizationrbacauthorisationyii3

### Embed Badge

![Health badge](/badges/klsoft-yii3-rbac-doctrine/health.svg)

```
[![Health](https://phpackages.com/badges/klsoft-yii3-rbac-doctrine/health.svg)](https://phpackages.com/packages/klsoft-yii3-rbac-doctrine)
```

###  Alternatives

[omines/datatables-bundle

Symfony DataTables Bundle with native Doctrine ORM, Elastica and MongoDB support

2851.4M6](/packages/omines-datatables-bundle)

PHPackages © 2026

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