vcromeiro/laravel-firebird
Composer 安装命令:
composer require vcromeiro/laravel-firebird
包简介
Firebird database driver for the Laravel Framework
README 文档
README
This package adds support for the Firebird PDO driver in Laravel applications. Support for Laravel 5.5 to 8.x with PHP 7.1+ and Firebird 1.5 or 2.5
Installation
You can install the package via composer:
composer require vcromeiro/laravel-firebird
The package will automatically register itself.
Declare the connection within your config/database.php file, 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'), 'version' => env('DB_VERSION', '2.5'), // Supported versions: 2.5, 1.5 '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(\Firebird\FirebirdServiceProvider::class);
Limitations
This package does not support database migrations and it should not be used for this use case.
Credits
This package was originally forked from acquestvanzuydam/laravel-firebird with enhancements from sim1984/laravel-firebird and harrygulliford/laravel-firebird.
License
Licensed under the MIT licence.
vcromeiro/laravel-firebird 适用场景与选型建议
vcromeiro/laravel-firebird 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 152 次下载、GitHub Stars 达 3, 最近一次更新时间为 2020 年 01 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 vcromeiro/laravel-firebird 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 vcromeiro/laravel-firebird 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 152
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-01-22