klsoft/yii3-rbac-doctrine

The package provides Yii RBAC storage using the Doctrine ORM

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/klsoft/yii3-rbac-doctrine

1.0.0 2026-02-17 12:16 UTC

This package is auto-updated.

Last update: 2026-02-17 12:18:16 UTC


README

The package provides Yii RBAC storage using the Doctrine ORM.

Requirement

  • PHP 8.2 or higher.

Installation

composer require klsoft/yii3-rbac-doctrine

How to use

1. Configure the EntityManagerInterface.

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