srusakov/firebirddb 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

srusakov/firebirddb

Composer 安装命令:

composer require srusakov/firebirddb

包简介

Yii 2 Firebird DB driver

README 文档

README

This is an updated version of the adapter YiiFirebird originally posted by idlesign. It has been enhanced to be compatible with yii2.

This version is marked 2.0

Requirements

  • PHP 5.4
  • PDO_Firebird extension enabled.
  • Firebird 2.5 (not tested on previous versions)
  • Yii 1.1.9

Installation

  • Modify your composer.json:
...
"require": {
    "srusakov/firebirddb": "*"
	},
  "repositories":[{
      "type":"git",
      "url":"http://github.com/srusakov/yii2-firebirddb",
  }]
...
  • Modify your common/config/main.php:
return [
    'components' => [
        'db' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'firebird:dbname=HOSTNAME:DATABASENAME.fdb;charset=UTF8',
            'username' => 'sysdba',
            'password' => 'masterkey',
            'charset' => 'utf8',
            'pdoClass' => 'srusakov\firebirddb\PDO',
            'schemaMap' => [
                                'firebird' => 'srusakov\firebirddb\Schema', // FireBird
                            ],
        ],
]

Restriction

Some restrictions imposed by Database:

  • Rename tables
  • Using DDL and DML statement in the same transaction and the same table. (Ex: Create table and insert).

Caution!

This driver is not well tested in production ebvironment! Use it at your own risk!

Thanks to

@idlesign, @robregonm, @edgardmessias, @mr-rfh, @mlorentz75

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2014-12-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固