PHP code example of lordkino / yii2-oci8pdo

1. Go to this page and download the library: Download lordkino/yii2-oci8pdo library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

lordkino / yii2-oci8pdo example snippets


        'db' => [
            'class' => 'lordkino\oci8pdo\Connection',
            'dsn' => 'oci:dbname=//dbhost:1521/dbasename',
            'username' => 'username',
            'password' => 'password',
            'charset' => 'utf8',
            'attributes' => [
                PDO::ATTR_STRINGIFY_FETCHES => true,
            ],
        ],

php composer.phar