Laravel: Informix DB

By | August 15, 2019

Assalamualaikum / Hi,

I’ve been requested to train developers in an agency, which using Informix DB as for their database.

I never been using it, and they requested so that they can use Laravel with Informix DB.

Googling around, found laravel-ifx, but the package seems a bit outdated. I do have already fork and update the dependencies, fixed few things and submit PR to the maintainer.

While waiting for the PR to be approve, you might want to use the package, up to the latest Laravel version since the maintainer still up to Laravel 5.2 only.

To use the one that I fork, in your project’s `composer.json’, add the following at the end of the file:

"repositories": [{
    "type": "vcs",
    "url": "https://github.com/nasrulhazim/laravel-ifx"
}]

Then you can start require the package:

$ composer require poyii/laravel-ifx:dev-master
$ php artisan vendor:publish --tag=config-informix

Then you are done! You should be able to use the package with Latest Laravel.

Reference: Laravel Lumix Informix

Thanks,
Nasrul Hazim

Leave a Reply

Your email address will not be published. Required fields are marked *

five × three =