2017 © Pedro Peláez
 

yii2-extension yii2-informix

A Yii2 driver for informix

image

li9ht/yii2-informix

A Yii2 driver for informix

  • Wednesday, June 3, 2015
  • by li9ht
  • Repository
  • 1 Watchers
  • 0 Stars
  • 38 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

yii2-informix

Pdo informix driver for Yii2 framework, (*1)

Requirements

  • PHP module pdo_informix;
  • Informix Client SDK installed
  • Yii2 framework

How to install

  • add to composer.json
  • because package is still in development, set minimum-stability = dev and prefer-stable = true
"require":{
    "li9ht/yii2-informix": "1.0.*@dev"
 },
 "minimum-stability": "dev",
 "prefer-stable": true,
  • when package is finish installed add the following line to your APPROOT/config/web.php
<?php
  'components' => array(
    'db' => [
           'class' => 'li9ht\yii2\informix\Connection',
           'driverName' => 'informix',
           'dsn' => 'informix:DSN=inf_db_odbc',
       ],
  ),

Unit Test

  • Copy test folder to your yiiApp root folder.
  • Edit connection dsn in test/TestCase.php file
  • Run
phpunit --bootstrap bootstrap.php ActiveRecordTest.php

The Versions

03/06 2015

dev-master

9999999-dev https://github.com/li9ht/yii2-informix

A Yii2 driver for informix

  Sources   Download

MIT

The Requires

 

yii2 informix