danidoble/laravel-firebird
最新稳定版本:v4.0.3
Composer 安装命令:
composer require danidoble/laravel-firebird
包简介
Firebird database driver for Laravel Framework
README 文档
README
This package adds support for the Firebird PDO Database Driver in Laravel applications.
Version Support
- PHP: 8.1, 8.2, 8.3, 8.4
- Laravel: 10.x, 11.x, 12.x
- Firebird: 2.5, 3.0, 4.0, 5.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, 'legacy_limit_and_offset' => true, // for Firebird 3.0 and above set to false ], ],
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.
统计信息
- 总下载量: 12.8k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-18