PHPackages                             apaoww/yii2-admin-oci8 - 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. apaoww/yii2-admin-oci8

ActiveYii2-extension

apaoww/yii2-admin-oci8
======================

Auth manager for Yii2 Oracle Oci8

03311PHP

Since Sep 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/apaoww/yii2-admin-oci8)[ Packagist](https://packagist.org/packages/apaoww/yii2-admin-oci8)[ RSS](/packages/apaoww-yii2-admin-oci8/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

RBAC Manager for Yii 2 and Oracle extends from @mdmsoft/yii2-admin customize for Oci8
=====================================================================================

[](#rbac-manager-for-yii-2-and-oracle-extends-from-mdmsoftyii2-admin-customize-for-oci8)

Documentation
-------------

[](#documentation)

- [Change Log](CHANGELOG.md).
- [Basic Usage](docs/guide/basic-usage.md).
- [Using Menu](docs/guide/using-menu.md).
- [Api](http://mdmsoft.github.io/yii2-admin/index.html)

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

[](#installation)

### Install With Composer

[](#install-with-composer)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require apaoww/yii2-admin-oci8 "dev-master"

```

for dev-master

```
php composer.phar require apaoww/yii2-admin-oci8 "dev-master"

```

or add

```
"apaoww/yii2-admin-oci8": "dev-master"

```

to the require section of your `composer.json` file.

### Install From Archive

[](#install-from-archive)

```
return [
    ...
    'aliases' => [
        '@apaoww/AdminOci8' => 'path/to/your/extracted',
        ...
    ]
];
```

Usage
-----

[](#usage)

Once the extension is installed, simply modify your application configuration as follows:

```
return [
	'modules' => [
		'admin' => [
			'class' => 'apaoww\AdminOci8\Module',
            ...
		]
		...
	],
	...
	'components' => [
		....
		'authManager' => [
			'class' => 'yii\rbac\PhpManager', // or use 'yii\rbac\DbManager'
		]
	],
    'as access' => [
        'class' => 'apaoww\AdminOci8\components\AccessControl',
		'allowActions' => [
			'admin/*', // add or remove allowed actions to this list
		]
    ],
];
```

See [Yii RBAC](http://www.yiiframework.com/doc-2.0/guide-security-authorization.html#role-based-access-control-rbac) for more detail. You can then access Auth manager through the following URL:

```
http://localhost/path/to/index.php?r=admin
http://localhost/path/to/index.php?r=admin/route
http://localhost/path/to/index.php?r=admin/permission
http://localhost/path/to/index.php?r=admin/menu
http://localhost/path/to/index.php?r=admin/role
http://localhost/path/to/index.php?r=admin/assignment

```

To use menu manager (optional). Execute yii migration here:

```
yii migrate --migrationPath=@mdm/admin/migrations

```

If You use database (class 'yii\\rbac\\DbManager') to save rbac data. Execute yii migration here:

```
yii migrate --migrationPath=@yii/rbac/migrations

```

Customizing Controller
----------------------

[](#customizing-controller)

Some controller property maybe need to change. To do that, change it via `controllerMap` property.

```
	'modules' => [
		'admin' => [
			...,
            'controllerMap' => [
                 'assignment' => [
                    'class' => 'apaoww\AdminOci8\controllers\AssignmentController',
                    'userClassName' => 'path\to\models\User',
                    'idField' => 'user_id', // id field of model User
                ]
            ],
            ...
		]
		...
	],
```

Customizing Layout
------------------

[](#customizing-layout)

As default, `module` using application layout as template. To change it, you have to set `layout` property. This extension come with three layout that can be used, there are 'left-menu', 'right-menu' and 'top-menu'.

```
	'modules' => [
		'admin' => [
			...,
            'layout' => 'left-menu', // default null. other avaliable value 'right-menu' and 'top-menu'
        ],
        ...
    ],
```

If you use one of them, you can also customize the menu. You can change menu label or disable it.

```
	'modules' => [
		'admin' => [
			...,
            'layout' => 'left-menu', // default null. other avaliable value 'right-menu' and 'top-menu'
            'menus' => [
                'assignment' => [
                    'label' => 'Grand Access' // change label
                ],
                'route' => null, // disable menu
            ],
        ],
        ...
    ],
```

[screenshots](https://picasaweb.google.com/105012704576561549351/Yii2Admin?authuser=0&feat=directlink)

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

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/a775977f4705909feb9c4b573e420175096166c9084afb9084ac661f2e29dc16?d=identicon)[apaoww](/maintainers/apaoww)

---

Top Contributors

[![apaoww](https://avatars.githubusercontent.com/u/4974699?v=4)](https://github.com/apaoww "apaoww (16 commits)")

### Embed Badge

![Health badge](/badges/apaoww-yii2-admin-oci8/health.svg)

```
[![Health](https://phpackages.com/badges/apaoww-yii2-admin-oci8/health.svg)](https://phpackages.com/packages/apaoww-yii2-admin-oci8)
```

PHPackages © 2026

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