luguohuakai / yii2-dm
DM8 Driver for Yii2 Framework.
Installs: 73
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.6
- ext-pdo: *
- yiisoft/yii2: ~2.0.33
Requires (Dev)
- phpunit/phpunit: 4.8.34
- yiisoft/yii2-dev: 2.0.15.1
This package is auto-updated.
Last update: 2024-12-20 06:52:48 UTC
README
A database extension for DM database
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist luguohuakai/yii2-dm "*"
or add
"luguohuakai/yii2-dm": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
'components' => [ 'db' => [ 'class' => 'luguohuakai\db\dm\Connection', 'dsn' => 'dm:host=localhost:xxx;schema=xxx', 'username' => 'SYSDBA', 'password' => 'SYSDBA', ] ]