PHPackages                             srusakov/firebirddb - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. srusakov/firebirddb

ActiveSource

srusakov/firebirddb
===================

Yii 2 Firebird DB driver

68734PHP

Since Jun 10Pushed 11y ago2 watchersCompare

[ Source](https://github.com/srusakov/yii2-firebirddb)[ Packagist](https://packagist.org/packages/srusakov/firebirddb)[ RSS](/packages/srusakov-firebirddb/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-firebirddb - Firebird Adapter for Yii 2.x
==============================================

[](#yii2-firebirddb---firebird-adapter-for-yii-2x)

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
------------

[](#requirements)

- PHP 5.4
- PDO\_Firebird extension enabled.
- Firebird 2.5 (not tested on previous versions)
- Yii 1.1.9

Installation
------------

[](#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
-----------

[](#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!
--------

[](#caution)

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

Thanks to
---------

[](#thanks-to)

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d88e010577f4451969f65f3b70d96d7985249066dae73d1b22181e2a533ffe6?d=identicon)[srusakov](/maintainers/srusakov)

---

Top Contributors

[![srusakov](https://avatars.githubusercontent.com/u/5128762?v=4)](https://github.com/srusakov "srusakov (15 commits)")

### Embed Badge

![Health badge](/badges/srusakov-firebirddb/health.svg)

```
[![Health](https://phpackages.com/badges/srusakov-firebirddb/health.svg)](https://phpackages.com/packages/srusakov-firebirddb)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
