lordkino / yii2-oci8pdo
Translate pdo command to oci8
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
Type:yii2-extension
Requires
This package is not auto-updated.
Last update: 2025-03-16 08:01:40 UTC
README
Translate pdo command to oci8
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist lordkino/yii2-oci8pdo "*"
or add
"lordkino/yii2-oci8pdo": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
'db' => [ 'class' => 'lordkino\oci8pdo\Connection', 'dsn' => 'oci:dbname=//dbhost:1521/dbasename', 'username' => 'username', 'password' => 'password', 'charset' => 'utf8', 'attributes' => [ PDO::ATTR_STRINGIFY_FETCHES => true, ], ],```