guidofaecke / doctrine-dbal-pdo-ibmi
Doctrine DBAL PDO Driver for IBM i DB2 running local or in a docker container
4.2.2
2024-11-27 17:19 UTC
Requires
- php: ^8.1
- ext-pdo: *
- doctrine/dbal: ^4.2
Requires (Dev)
- doctrine/coding-standard: ^12.0.0
- phpstan/phpstan: 1.12.6
- phpstan/phpstan-strict-rules: ^1.6
- slevomat/coding-standard: ^8.13.1
- squizlabs/php_codesniffer: ^3.6
- vimeo/psalm: ^5.25.0
This package is auto-updated.
Last update: 2024-11-27 17:21:44 UTC
README
Doctrine DBAL PDO implementation against DB2 on your IBM i platform.
Usage
It can be used :
- On your IBM i
- On your local machine
- Within a Docker container
Requirements
- PHP >= 8.1
- ext-pdo
- unixodbc
- ODBC driver for IBM i Access Client Solutions
Installation
composer require guidofaecke/doctrine-dbal-pdo-ibmi
Configuration example
<?php use Doctrine\DBAL\IBMIDB2PDO\Driver\Driver as IBMIDB2PDODriver; return [ 'doctrine' => [ 'connection' => [ 'orm_default' => [ 'driver_class' => IBMIDB2PDODriver::class, 'params' => [ 'host' => '10.10.10.10', 'dbname' => 'S1234abc', 'user' => 'db_user', 'password' => 'password', 'charset' => 'utf8', 'naming' => '1', ], ], ], ], ];