danidoble / laravel-firebird
Firebird database driver for Laravel Framework
Fund package maintenance!
danidoble
Requires
- php: ^8.1
- ext-pdo: *
- illuminate/container: ^10.0|^11.0
- illuminate/database: ^10.0|^11.0
- illuminate/events: ^10.0|^11.0
- illuminate/support: ^10.0|^11.0
Requires (Dev)
- laravel/pint: ^1.14
- orchestra/testbench: ^8.21|^v9.0.0
- pestphp/pest: ^2.34
This package is auto-updated.
Last update: 2024-11-22 17:18:31 UTC
README
This package adds support for the Firebird PDO Database Driver in Laravel applications.
Version Support
- PHP: 8.1, 8.2, 8.3
- Laravel: 10.x, 11.x
- Firebird: 2.5, 3.0, 4.0
Installation
You can install the package via composer:
composer require danidoble/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.