Yii2 extension to simulate a PDO connection to Oracle database using PHP OCI8
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.
'db' => [
'class' => 'bobsbg\oci2pdo\OciDbConnection',
'dsn' => 'oci:dbname=DBNAME;charset=UTF8',
'username' => 'scott',
'password' => 'tiger',
'charset' => 'utf8',
],