From f502fdfdfbb89acd756639bfe40c65dbcc029981 Mon Sep 17 00:00:00 2001 From: xGrz Date: Wed, 1 Oct 2025 12:05:12 +0200 Subject: [docs] Added docs for package --- readme.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..943d9f6 --- /dev/null +++ b/readme.md @@ -0,0 +1,49 @@ +# Firebird for Laravel + +This package adds support for the Firebird PDO Database Driver in Laravel applications. +Originally it was created by Harry Gulliford. Unfortunately, the original package is no longer maintained (doesn't support Laravel 12). +Thank you, Harry, for your work! + +## Version Support + +- **PHP:** 8.2, 8.3 +- **Laravel:** 12.x +- **Firebird:** 2.5, 3.0, 4.0 + +## Installation + +You can install the package via composer: + +```bash +composer require xgrz/support-firebird +``` + +_The package will automatically register itself._ + +Declare the connection within your `config/database.php` file by using `firebird` as the +driver: +```php +'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 +- [Harry Gulliford](https://github.com/harrygulliford) + +## License +Licensed under the [MIT](https://choosealicense.com/licenses/mit/) license. -- cgit v1.3