harrygulliford / laravel-firebird
Firebird database driver for the Laravel Framework
Package info
github.com/harrygulliford/laravel-firebird
pkg:composer/harrygulliford/laravel-firebird
v3.3.0
2024-10-08 10:04 UTC
Requires
- php: ^7.4|^8.0
- illuminate/container: ^8.65|^9.33|^10.0|^11.0
- illuminate/database: ^8.65|^9.33|^10.0|^11.0
- illuminate/events: ^8.65|^9.33|^10.0|^11.0
- illuminate/support: ^8.65|^9.33|^10.0|^11.0
Requires (Dev)
- fakerphp/faker: ^1.15
- mockery/mockery: ^1.4
- orchestra/testbench: ^6.19|^7.0|^8.0|^9.0
- phpunit/phpunit: ^9.6.11|^10.0
README
This package adds support for the Firebird PDO Database Driver in Laravel applications.
Version Support
- PHP: 8.2+
- Laravel: 12, 13
- Firebird: 4, 5
Installation
You can install the package via composer:
composer require harrygulliford/laravel-firebird
The package will automatically register itself.
Declare the connection within your config/database.php file by using firebird as the
driver:
'connections' => [ 'firebird' => [ 'driver' => 'firebird', 'host' => env('DB_HOST', 'localhost'), 'port' => env('DB_PORT', '3050'), '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, ], ],
Limitations
This package does not intend to support database migrations and it should not be used for this use case.
Credits
License
Licensed under the MIT license.