/laravel-firebird

Firebird database driver for the Laravel Framework

Primary LanguagePHP

Firebird for Laravel

Latest Stable Version Total Downloads License

This package adds support for the Firebird PDO driver in Laravel applications. Support for Laravel 7 with PHP 7.2.5+ and Firebird 2.5

Installation

You can install the package via composer:

composer require pe46dro/laravel-firebird

The package will automatically register itself.

Declare the connection within your config/database.php file, using firebird as the driver:

'connections' => [

    'firebird' => [
        'driver'   => 'firebird',
        'host'     => env('DB_HOST', 'localhost'),
        'database' => env('DB_DATABASE', '/path_to/database.fdb'),
        'username' => env('DB_USERNAME', 'sysdba'),
        'password' => env('DB_PASSWORD', 'masterkey'),
        'charset'  => env('DB_CHARSET', 'UTF8'),
        'role'     => null,
    ],

],

Credits

This package was originally forked from harrygulliford/laravel-firebird.

License

Licensed under the MIT licence.