helloj/yii2-dbmaker
Composer 安装命令:
composer require helloj/yii2-dbmaker
包简介
DBMaker Driver for Yii2 Framework.
README 文档
README
This extension adds DBMaker database engine extension for the Yii framework 2.0.
This branch use the last developer version of Yii2 (dev-master)
Requirements
- DBMaker Client driver installed
- PHP module pdo_odbc
- DBMaker Database Server 5.4 or greater
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist "helloj/yii2-dbmaker:*"
or add
"helloj/yii2-dbmaker": "*"
to the require section of your composer.json.
Configuration
To use this extension, simply add the following code in your application configuration:
Using DBMaker:
return [ //.... 'components' => [ 'db' => [ 'class' => 'helloj\db\dbmaker\Connection', 'dsn' => 'odbc:DSN=MYDB;CLILCODE=UTF-8;ERRLCODE=en.UTF-8', 'username' => 'username', 'password' => 'password', ], ], ];
统计信息
- 总下载量: 91
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2016-05-20