dev-master
9999999-devFork of alanseiden/doctrine-dbal-ibmi with edge unmerged commits
MIT
The Requires
by Nealis
Wallogit.com
2017 © Pedro Peláez
Fork of alanseiden/doctrine-dbal-ibmi with edge unmerged commits
Doctrine DBAL module for DB2 on the IBM i platform., (*1)
The majority of the work done to make DBAL work on i was done by @cassvail and can be seen in the PR doctrine/dbal#910 - credit where it's due!, (*2)
First, install with Composer:, (*3)
$ composer require alanseiden/doctrine-dbal-ibmi
In your connection configuration, use this specific DB2Driver class, for
example, when configuring for a Zend Expressive application:, (*4)
<?php
return [
'doctrine' => [
'connection' => [
'orm_default' => [
'driverClass' => \DoctrineDbalIbmi\Driver\DB2Driver::class,
'params' => [
'host' => '...',
'user' => '...',
'password' => '...',
'dbname' => '...',
'persistent' => true,
'driverOptions' => [
'i5_naming' => DB2_I5_NAMING_OFF,
'i5_lib' => '...',
],
],
],
],
],
];
Fork of alanseiden/doctrine-dbal-ibmi with edge unmerged commits
MIT