2017 © Pedro Peláez
 

yii2-extension yii2-informix

Informix Driver for Yii2 Framework.

image

edgardmessias/yii2-informix

Informix Driver for Yii2 Framework.

  • Tuesday, January 2, 2018
  • by edgardmessias
  • Repository
  • 2 Watchers
  • 3 Stars
  • 70 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 4 Versions
  • 9 % Grown

The README.md

Informix Extension for Yii 2 (yii2-informix)

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

This extension adds Informix database engine extension for the Yii framework 2.0., (*2)

Yii2 Build Status Total Downloads Dependency Status Reference Status, (*3)

Requirements

  • Informix Client SDK installed
  • PHP module pdo_informix
  • Informix Database Server 11.50 or greater

Unsupported

  • Enable/Disable checkIntegrity (Bug with PHP)

Functions not supported by the Informix database:, (*4)

  • INSERT, UPDATE, DELETE with READ UNCOMMITTED transaction
  • Batch Insert with TEXT, BLOB or CLOB data type

Installation

The preferred way to install this extension is through composer., (*5)

Either run, (*6)

php composer.phar require --prefer-dist "edgardmessias/yii2-informix:*"

or add, (*7)

"edgardmessias/yii2-informix": "*"

to the require section of your composer.json., (*8)

Configuration

To use this extension, simply add the following code in your application configuration:, (*9)

return [
    //....
    'components' => [
        'db' => [
            'class'    => 'edgardmessias\db\informix\Connection',
            'dsn'      => 'informix:host=127.0.0.1;service=9088;database=test;server=dev;protocol=onsoctcp;CLIENT_LOCALE=en_US.utf8;DB_LOCALE=en_US.utf8;EnableScrollableCursors=1',
            'username' => 'username',
            'password' => 'password',
        ],
    ],
];

To use CamelCase column names or aliases, enable the DELIMIDENT:, (*10)

Example:, (*11)

    //....
    'db' => [
        'class'    => 'edgardmessias\db\informix\Connection',
        'dsn'      => 'informix:host=127.0.0.1;service=9088;database=test;server=dev;protocol=onsoctcp;CLIENT_LOCALE=en_US.utf8;DB_LOCALE=en_US.utf8;EnableScrollableCursors=1;DELIMIDENT=y',
        'username' => 'username',
        'password' => 'password',
    ],

Or:, (*12)

    //....
    'db' => [
        'class'        => 'edgardmessias\db\informix\Connection',
        'dsn'          => 'informix:DSN_NAME', //WITH DELIMIDENT ENABLED
        'isDelimident' => true,
        'username'     => 'username',
        'password'     => 'password',
    ],

Donations

  • Donation is as per your goodwill to support my development.
  • If you are interested in my future developments, i would really appreciate a small donation to support this project.
My Monero Wallet Address (XMR)
429VTmDsAw4aKgibxkk4PzZbxzj8txYtq5XrKHc28pXsUtMDWniL749WbwaVe4vUMveKAzAiA4j8xgUi29TpKXpm41bmrwQ

```html My Bitcoin Wallet Address (BTC) 38hcARGVzgYrcdYPkXxBXKTqScdixvFhZ4, (*13)

```html
My Ethereum Wallet Address (ETH)
0xdb77aa3d0e496c73a0dac816ac33ea389cf54681

Another Cryptocurrency: https://freewallet.org/id/edgardmessias, (*14)

The Versions

02/01 2018

dev-master

9999999-dev

Informix Driver for Yii2 Framework.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Edgard Messias

extension yii2 activerecord informix

04/05 2016

1.1.1

1.1.1.0

Informix Driver for Yii2 Framework.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Edgard Messias

extension yii2 activerecord informix

04/04 2016

1.1.0

1.1.0.0

Informix Driver for Yii2 Framework.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Edgard Messias

extension yii2 activerecord informix

21/10 2015

1.0.0

1.0.0.0

Informix Driver for Yii2 Framework.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Edgard Messias

extension yii2 activerecord informix