Skip to content

xGrz/firebird-support

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

composer require xgrz/firebird-support

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.

About

Firebird support for Laravel 12

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages