PHPackages                             kkszymanowski/laravel-6-firebird - 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. [Database &amp; ORM](/categories/database)
4. /
5. kkszymanowski/laravel-6-firebird

ActiveLibrary[Database &amp; ORM](/categories/database)

kkszymanowski/laravel-6-firebird
================================

A Firebird database package for Laravel 6

6.0.6(4y ago)3019.8k↓33.3%4[2 issues](https://github.com/KKSzymanowski/laravel-6-firebird/issues)[1 PRs](https://github.com/KKSzymanowski/laravel-6-firebird/pulls)MITPHPPHP &gt;=7.2.0

Since Sep 27Pushed 4y ago6 watchersCompare

[ Source](https://github.com/KKSzymanowski/laravel-6-firebird)[ Packagist](https://packagist.org/packages/kkszymanowski/laravel-6-firebird)[ RSS](/packages/kkszymanowski-laravel-6-firebird/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (2)Versions (9)Used By (0)

Firebird database driver for Laravel 6, 7, 8 and 9.
---------------------------------------------------

[](#firebird-database-driver-for-laravel-6-7-8-and-9)

Package inspired by [jacquestvanzuydam/laravel-firebird](https://github.com/jacquestvanzuydam/laravel-firebird) but simplified, modernized and made compatible with Laravel 6, 7 and 8.

I do not create my own Firebird databases, only read from existing ones so the INSERT and UPDATE support may be spotty.

### Installation

[](#installation)

```
composer require kkszymanowski/laravel-6-firebird

```

Add you database configuration in `config/database.php`

```
'connections' => [
    'myFirebirdConnection' => [
        'driver'   => 'firebird',
        'host'     => env('DB_FIREBIRD_HOST', 'localhost'),
        'port'     => env('DB_FIREBIRD_PORT', '3050'),
        'database' => env('DB_FIREBIRD_DATABASE', '/path_to/database.fdb'),
        'username' => env('DB_FIREBIRD_USERNAME', 'SYSDBA'),
        'password' => env('DB_FIREBIRD_PASSWORD', 'masterkey'),
        'charset'  => env('DB_FIREBIRD_CHARSET', 'UTF8'),
    ],

    // ...
],
```

Add the `DB_FIREBIRD_*` environment variables to your `.env` file, for example:

```
DB_FIREBIRD_HOST=192.168.0.1
DB_FIREBIRD_PORT=3050
DB_FIREBIRD_DATABASE=C:/DB.FDB
DB_FIREBIRD_USERNAME=user
DB_FIREBIRD_PASSWORD=password
DB_FIREBIRD_CHARSET=ISO-8859-2

```

### Usage

[](#usage)

#### Eloquent as model

[](#eloquent-as-model)

To override your default database connection define `$connection` name in your Eloquent Model

```
/**
 * The connection name for the model.
 *
 * @var string
 */
protected $connection = 'myFirebirdConnection';
```

After defining connection name you can use it in normal way as you use Eloquent:

```
$user = User::where('id', 1)->get();

$users = User::all();
```

#### DB Query

[](#db-query)

Each time you have to define connection name (if it isn't your default one), for example:

```
$sql = 'SELECT * FROM USERS WHERE id = :id';
$bindings = ['id' => 1];
$user = DB::connection('myFirebirdConnection')->select($sql, $bindings);

$users = DB::connection('myFirebirdConnection')->table('USERS')->select('*')->get();
```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.4% 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.

###  Release Activity

Cadence

Every ~152 days

Recently: every ~182 days

Total

7

Last Release

1512d ago

PHP version history (2 changes)6.0.0PHP ^7.2

6.0.4PHP &gt;=7.2.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13980973?v=4)[Kuba Szymanowski](/maintainers/KKSzymanowski)[@KKSzymanowski](https://github.com/KKSzymanowski)

---

Top Contributors

[![KKSzymanowski](https://avatars.githubusercontent.com/u/13980973?v=4)](https://github.com/KKSzymanowski "KKSzymanowski (14 commits)")[![huesimon](https://avatars.githubusercontent.com/u/1985440?v=4)](https://github.com/huesimon "huesimon (3 commits)")

### Embed Badge

![Health badge](/badges/kkszymanowski-laravel-6-firebird/health.svg)

```
[![Health](https://phpackages.com/badges/kkszymanowski-laravel-6-firebird/health.svg)](https://phpackages.com/packages/kkszymanowski-laravel-6-firebird)
```

###  Alternatives

[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k302.7k1](/packages/cybercog-laravel-love)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[genealabs/laravel-pivot-events

This package introduces new eloquent events for sync(), attach(), detach() or updateExistingPivot() methods on BelongsToMany relation.

1404.9M8](/packages/genealabs-laravel-pivot-events)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[aglipanci/laravel-eloquent-case

Adds CASE statement support to Laravel Query Builder.

115157.2k](/packages/aglipanci-laravel-eloquent-case)

PHPackages © 2026

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