Yii 2.0: yii2-firebird

This extension adds Firebird database engine extension for the Yii framework 2.0.

Firebird Extension for Yii 2

This extension adds Firebird database engine extension for the Yii framework 2.0.

Build Status


At least Firebird version 2.0 is required. However, in order to use all extension features.

Not use BLOB types. See this bug


The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist edgardmessias/yii2-firebird

or add

"edgardmessias/yii2-firebird": "*"

to the require section of your composer.json.


To use this extension, simply add the following code in your application configuration:

return [
    'components' => [
        'db' => [
            'class' => 'edgardmessias\db\firebird\Connection',
            'dsn' => 'firebird:dbname=tests/data/TEST.FDB',
            'username' => 'username',
            'password' => 'password',

Total 3 comments

#20028 report it
agarcilazo at 2017/02/09 01:47pm
help installing 2

Marcin Misiak, thanks a lot, i certainly use the composer but, (Ashemed) I use it wrong, it should be run in the "root" of the project, in order composer merges the necesary code in the vendor directory, at least in that way I made GII, for now, to generate the models :)

Again thanks for your time

#20027 report it
Marcin Misiak at 2017/02/09 02:31am

Hi agarcilazo,

  1. Yii2 - do you use composer to install yii2-firebird ?
  2. Do you have files in vendor dir.? ls -la vendor/edgardmessias/yii2-firebird/src ???



yii2-firebird it's very good code. I've use with FB2.1 and FB3.0. Works perfect.

#20026 report it
agarcilazo at 2017/02/08 10:29am
help installing

Hi, I use yii 1.1 in a regular basis, now, I have to change to 2, becouse a hosting service uses a client of mysql not compatible with yii 1.1

I also have developments with firebird in yii 1.1, that I thought is good to migrate too. But I found there's no native support to firebird.

I try to use your extension, following the composer method, but I still should be missing something.

"Class Portal2\vendor\src\Connection does not exist" ot whatever i write in class:

'class' => 'edgardmessias\db\firebird\Connection',

can you give me a clue?

thanks in advance

Leave a comment

Please to leave your comment.

Create extension
No downloadable files yet