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.1(3y ago)017MITPHPPHP ^7.4|^8.0

Since Mar 16Pushed 3y 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 1mo ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

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

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

[![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
- **Laravel:** 8.x, 9.x, 10.x
- **Firebird:** 2.5, 3.0, 4.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

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

1154d 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)")[![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)")[![onezerotrash](https://avatars.githubusercontent.com/u/17801725?v=4)](https://github.com/onezerotrash "onezerotrash (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

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k7.2M71](/packages/mongodb-laravel-mongodb)[dyrynda/laravel-model-uuid

This package allows you to easily work with UUIDs in your Laravel models.

4802.8M8](/packages/dyrynda-laravel-model-uuid)[watson/validating

Eloquent model validating trait.

9723.3M47](/packages/watson-validating)[cybercog/laravel-ban

Laravel Ban simplify blocking and banning Eloquent models.

1.1k651.8k11](/packages/cybercog-laravel-ban)[pdphilip/elasticsearch

An Elasticsearch implementation of Laravel's Eloquent ORM

145360.2k4](/packages/pdphilip-elasticsearch)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)

PHPackages © 2026

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