承接 apaoww/yii2-dbmanager-oci8 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

apaoww/yii2-dbmanager-oci8

Composer 安装命令:

composer require apaoww/yii2-dbmanager-oci8

包简介

Auth Dbmanager for Yii2 for Oracle db Customize for Oci8 driver

README 文档

README

Installation

Install With Composer

The preferred way to install this extension is through composer.

Either run

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

or add

"apaoww/yii2-dbmanager-oci8": "dev-master"

to the require section of your composer.json file.

Install From Archive

Download source at https://github.com/apaoww/yii2-dbmanager-oci8

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

Usage

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

return [	
	'components' => [
		....
		'authManager' => [
                    'class' => 'apaoww\DbManagerOci8\DbManager', // or use 'yii\rbac\DbManager'
		    'itemTable' => 'SCHEMANAME.AUTH_ITEM',
            	    'assignmentTable' => 'SCHEMANAME.AUTH_ASSIGNMENT',
                    'itemChildTable' => 'SCHEMANAME.AUTH_ITEM_CHILD',
                    'ruleTable' => 'SCHEMANAME.AUTH_RULE',
                ],
];

Custom Auth's Table Migration

You may want to create auth's table using migration command. Instead of using yii default migrate (yii migrate), specify the custom migrationPath to point to custom auth's table migration, all column are uppercase.

php yii migrate --migrationPath=@apaoww/DbManagerOci8/migrations

统计信息

  • 总下载量: 398
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-04-20