atans/yii2-rbac

An RBAC extension for yii2

Installs: 31

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

1.0.0 2017-01-08 08:01 UTC

This package is auto-updated.

Last update: 2024-04-13 23:00:35 UTC


README

An RBAC extension for yii2

Installation

Step 1

The preferred way to install this extension is through composer.

Either run

composer atans/yii2-rbac "*"

or add

"atans/yii2-rbac": "*"

to the require section of your composer.json file.

Step 3

Update database schema

$ php yii migrate/up --migrationPath=@yii/rbac/migrations

Usage

    // config/main.php

    'modules' => [
        'rbac' => 'atans\rbac\Module',
    ],