cassvail / dbal-ibmi
Fork of alanseiden/doctrine-dbal-ibmi with edge unmerged commits
Installs: 433
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/cassvail/dbal-ibmi
Requires
- doctrine/dbal: ^2.5
This package is not auto-updated.
Last update: 2025-09-28 01:38:41 UTC
README
Doctrine DBAL module for DB2 on the IBM i platform.
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!
Usage
First, install with Composer:
$ composer require alanseiden/doctrine-dbal-ibmi
In your connection configuration, use this specific DB2Driver
class, for
example, when configuring for a Zend Expressive application:
<?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' => '...', ], ], ], ], ], ];