定制 andersonav/firebird-connector 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

andersonav/firebird-connector

最新稳定版本:v2.1.0

Composer 安装命令:

composer require andersonav/firebird-connector

包简介

Firebird database driver for the Laravel Framework

README 文档

README

Total Downloads License

This package adds support for the Firebird PDO Database Driver in Laravel applications.

Version Support

  • PHP: 8.2, 8.3, 8.4
  • Laravel: 12.x
  • Firebird: 3.0, 4.0, 5.0

Installation

You can install the package via composer:

composer require andersonav/firebird-connector

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,
    ],

],

To register this package in Lumen, you'll also need to add the following line to the service providers in your config/app.php file: $app->register(\AndersonAv\Firebird\FirebirdServiceProvider::class);

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.

统计信息

  • 总下载量: 20
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-03