jturazzi/laravel-database-informix
Composer 安装命令:
composer require jturazzi/laravel-database-informix
包简介
Informix Database driver for Laravel
README 文档
README
Laravel Database Informix is a Laravel Framework package designed to seamlessly integrate with the Informix Database Driver. It extends Illuminate/Database and works smoothly with the latest versions of Laravel. Tested on Laravel 10 11 12.
This work is inspired by the repository: https://github.com/llaiajiale/laravel-ifx
Starting April 2025, I will no longer provide maintenance or updates for this repository, as I am no longer working with Informix and Laravel. However, pull requests are still welcome and will be reviewed.
Thank you for your understanding.
Prerequisites
Before installing this package, make sure you have the Informix SDK installed on your system. The Informix SDK is required for communication with the Informix database. You can download the SDK from the official IBM website.
Additionally, you'll need to ensure that the PDO Informix extension is compiled and installed in your PHP environment. This extension provides the necessary functionality for PHP to communicate with Informix databases. You can find more information about the PDO Informix extension here.
For simplified installation of the Informix SDK and PDO extension, check out the scripts available in this repository.
Installation
To include Laravel-database-informix in your project, run the following command:
composer require jturazzi/laravel-database-informix
After Composer has finished installing the package, you'll need to register Informix DB.
For Laravel 10 and earlier versions:
Go to config/app.php, find the providers packages array, and add:
/* * Package Service Providers... */ jturazzi\Informix\InformixDBServiceProvider::class,
For Laravel 11 and newer versions:
Go to bootstrap/providers.php and add:
return [ App\Providers\AppServiceProvider::class, jturazzi\Informix\InformixDBServiceProvider::class, ];
Finally, publish the configuration file with the following Artisan command:
php artisan vendor:publish
This command will duplicate the configuration file into config/informix.php.
Configure the Informix database connection details in this file.
Contribution
We welcome community contributions. Fork, make changes, submit a pull request.
License
This project is licensed under the MIT License.
jturazzi/laravel-database-informix 适用场景与选型建议
jturazzi/laravel-database-informix 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.69k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2024 年 03 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 jturazzi/laravel-database-informix 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jturazzi/laravel-database-informix 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 2.69k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-15