bobsbg / yii2-oci2pdo
Yii2 extension to simulate a PDO connection to Oracle database using PHP OCI8
Installs: 3 287
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 0
Open Issues: 1
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2024-10-24 00:39:50 UTC
README
yii2-oci2pdo
Yii2 extension to simulate a PDO connection to Oracle database using PHP OCI8
Installation
Install With Composer The preferred way to install this extension is through composer. Either run
php composer.phar require bobsbg/yii2-oci2pdo
or add
"bobsbg/yii2-oci2pdo": "*"
to the require section of your composer.json file.
Usage / configuration
'db' => [ 'class' => 'bobsbg\oci2pdo\OciDbConnection', 'dsn' => 'oci:dbname=DBNAME;charset=UTF8', 'username' => 'scott', 'password' => 'tiger', 'charset' => 'utf8', ],