定制 guidofaecke/doctrine-dbal-pdo-ibmi 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

guidofaecke/doctrine-dbal-pdo-ibmi

最新稳定版本:4.2.4

Composer 安装命令:

composer require guidofaecke/doctrine-dbal-pdo-ibmi

包简介

Doctrine DBAL PDO Driver for IBM i DB2 running local or in a docker container

README 文档

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

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',
                ],
            ],
        ],
    ],
];

Caution

Even if doctrine migration is working, be warned that system default libraries/schemas are included. Be aware that migration files will include a fair amount of DROP statements from these schemas.

统计信息

  • 总下载量: 176
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-05-19