2017 © Pedro Peláez
 

yii2-extension oci8pdo

Extension for the Yii Framework - Oracle PDO simulation using the PHP OCI8 functions

image

professionalweb/oci8pdo

Extension for the Yii Framework - Oracle PDO simulation using the PHP OCI8 functions

  • Wednesday, March 9, 2016
  • by SergioMadness
  • Repository
  • 1 Watchers
  • 0 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

oci8Pdo

A Yii2 Extension to simulate the Oracle PDO using the PHP OCI8 functions.

Composer

oci8Pdo is available through composer, (*1)

composer require professionalweb/oci8Pdo "dev-master"

Alternatively you can add the following to the require section in your composer.json manually:, (*2)

"professionalweb/oci8Pdo": "dev-master"

Run composer update afterwards., (*3)

In your PHP project

Config

return [
    'components' => [
        'db' => [
            'class' => 'professionalweb\oci8Pdo\Connection',
            'dsn' => 'oci:dbname=DBNAME',
            'username' => 'LOGIN',
            'password' => 'PASSWORD',
            'enableQueryCache' => false,
            'enableSchemaCache' => true,
            'schemaCache' => 'cache',
            'schemaCacheDuration' => 0,
            'queryCacheDuration' => 3600,
            'on afterOpen' => function($event) {
                $event->sender->createCommand("alter session set nls_date_format='dd.mm.yyyy hh24:mi'")->execute();
            }
        ]
    ]
];

The MIT License

Copyright (c) 2012 Jeroen den Haan, (*4)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:, (*5)

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software., (*6)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE., (*7)

The Versions

09/03 2016

dev-master

9999999-dev

Extension for the Yii Framework - Oracle PDO simulation using the PHP OCI8 functions

  Sources   Download

MIT

The Requires

 

component yii2 pdo oci8 oracle

09/03 2016

1.0.1

1.0.1.0

Extension for the Yii Framework - Oracle PDO simulation using the PHP OCI8 functions

  Sources   Download

MIT

The Requires

 

component yii2 pdo oci8 oracle

27/10 2015

1.0.0

1.0.0.0

Extension for the Yii Framework - Oracle PDO simulation using the PHP OCI8 functions

  Sources   Download

MIT

The Requires

 

component yii2 pdo oci8 oracle