Skip to content

neutrinobg/yii2-oci2pdo

Repository files navigation

Latest Stable Version Total Downloads Latest Unstable Version

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',
],

About

Yii2 extension with Oracle PDO adapter using PHP OCI8

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages