jturazzi/laravel-database-informix 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

jturazzi/laravel-database-informix

最新稳定版本:1.1.0

Composer 安装命令:

composer require jturazzi/laravel-database-informix

包简介

Informix Database driver for Laravel

README 文档

README

Laravel Logo

Total Downloads Latest Stable Version License

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.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-15