PHPackages                             onezerotrash/laravel-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. onezerotrash/laravel-firebird

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

onezerotrash/laravel-firebird
=============================

Firebird database driver for the Laravel Framework

v0.0.2(2mo ago)018MITPHPPHP ^7.4|^8.0

Since Mar 16Pushed 2mo agoCompare

[ Source](https://github.com/onezerotrash/laravel-firebird)[ Packagist](https://packagist.org/packages/onezerotrash/laravel-firebird)[ RSS](/packages/onezerotrash-laravel-firebird/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (16)Versions (3)Used By (0)

Firebird for Laravel 8.x, 9.x, 10.x, 11.x
=========================================

[](#firebird-for-laravel-8x-9x-10x-11x)

[![Latest Stable Version](https://camo.githubusercontent.com/50237d1a8e2a323aa650238c91bab2a4a0d15b39da99f69af51c57845ce32eaa/68747470733a2f2f706f7365722e707567782e6f72672f6f6e657a65726f74726173682f6c61726176656c2d66697265626972642f762f737461626c65)](https://packagist.org/packages/onezerotrash/laravel-firebird)[![Total Downloads](https://camo.githubusercontent.com/c92cf280e9d15f8784fbbbb4dbe56ac69c3c0f14958f5d303fcba5ca16b5bcef/68747470733a2f2f706f7365722e707567782e6f72672f6f6e657a65726f74726173682f6c61726176656c2d66697265626972642f646f776e6c6f616473)](https://packagist.org/packages/onezerotrash/laravel-firebird)[![License](https://camo.githubusercontent.com/3e6b4fe27a79f8dda5eced2e8765e1e5da52740d5858b7e59cecd4fd0ab27289/68747470733a2f2f706f7365722e707567782e6f72672f6f6e657a65726f74726173682f6c61726176656c2d66697265626972642f6c6963656e7365)](https://packagist.org/packages/onezerotrash/laravel-firebird)

This package adds support for the Firebird PDO Database Driver in Laravel applications. Package is a fork from [harrygulliford/laravel-firebird](https://github.com/harrygulliford/laravel-firebird) and adds support for dialect 1.

Version Support
---------------

[](#version-support)

- **PHP:** 7.4, 8.0, 8.1, 8.2, 8.3, 8.4
- **Laravel:** 8.x, 9.x, 10.x, 11.x
- **Firebird:** 2.5, 3.0, 4.0, 5.0
- **Firebird Dialect:** 1, 3

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

[](#installation)

You can install the package via composer:

```
composer require onezerotrash/laravel-firebird
```

*The package will automatically register itself.*

Declare the connection within your `config/database.php` file by using `firebird` as the driver (use `PDO::ATTR_CASE => PDO::CASE_LOWER`):

```
'connections' => [

    'firebird' => [
        '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'),
        'dialect'  => env('DB_FIREBIRD_DIALECT', '3'),
        'role'     => env('DB_FIREBIRD_ROLE', 'NONE'),
        'options' => [
            PDO::ATTR_CASE => PDO::CASE_LOWER,
            PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
            PDO::ATTR_ORACLE_NULLS => PDO::NULL_NATURAL,
            PDO::ATTR_STRINGIFY_FETCHES => false,
            PDO::ATTR_EMULATE_PREPARES => false
        ]
    ],

],
```

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

```
DB_FIREBIRD_HOST=localhost
DB_FIREBIRD_PORT=3050
DB_FIREBIRD_DATABASE=/opt/firebird/database.fdb
DB_FIREBIRD_USERNAME=user
DB_FIREBIRD_PASSWORD=password
DB_FIREBIRD_CHARSET=WIN1250
DB_FIREBIRD_DIALECT=3

```

To register this package in Lumen, you'll also need to add the following line to the service providers in your `config/app.php` file: `$app->register(\onezerotrash\Firebird\FirebirdServiceProvider::class);`

Limitations
-----------

[](#limitations)

This package does not intend to support database migrations and it should not be used for this use case.

License
-------

[](#license)

Licensed under the [MIT](https://choosealicense.com/licenses/mit/) license.

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance86

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.9% 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 ~1139 days

Total

2

Last Release

66d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4cebb83268c964622e4d5accf8829b221b6ba76d847b3d6f4f33d13387f76b49?d=identicon)[onezerotrash](/maintainers/onezerotrash)

---

Top Contributors

[![harrygulliford](https://avatars.githubusercontent.com/u/5051286?v=4)](https://github.com/harrygulliford "harrygulliford (135 commits)")[![fesoft](https://avatars.githubusercontent.com/u/9648452?v=4)](https://github.com/fesoft "fesoft (12 commits)")[![jacquestvanzuydam](https://avatars.githubusercontent.com/u/2675042?v=4)](https://github.com/jacquestvanzuydam "jacquestvanzuydam (9 commits)")[![mariuz](https://avatars.githubusercontent.com/u/18359?v=4)](https://github.com/mariuz "mariuz (4 commits)")[![onezerotrash](https://avatars.githubusercontent.com/u/17801725?v=4)](https://github.com/onezerotrash "onezerotrash (3 commits)")[![victorvilella](https://avatars.githubusercontent.com/u/11229358?v=4)](https://github.com/victorvilella "victorvilella (2 commits)")[![ricardoseriani](https://avatars.githubusercontent.com/u/3369718?v=4)](https://github.com/ricardoseriani "ricardoseriani (2 commits)")[![maitrepylos](https://avatars.githubusercontent.com/u/1299622?v=4)](https://github.com/maitrepylos "maitrepylos (1 commits)")[![huesimon](https://avatars.githubusercontent.com/u/1985440?v=4)](https://github.com/huesimon "huesimon (1 commits)")[![donnykurnia](https://avatars.githubusercontent.com/u/95402?v=4)](https://github.com/donnykurnia "donnykurnia (1 commits)")[![selmo47](https://avatars.githubusercontent.com/u/9757603?v=4)](https://github.com/selmo47 "selmo47 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M96](/packages/mongodb-laravel-mongodb)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)

PHPackages © 2026

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