Skip to content

byte5digital/laravel-informix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Informix Database Package

Software License StyleCI Total Downloads

Laravel-ifx is an Informix Database Driver package for Laravel Framework - thanks @taylorotwell. Laravel-ifx is an extension of Illuminate/Database that uses either the PDO extension wrapped into the PDO namespace.

Install

composer require byte5digital/laravel-informix

Publish config file:

$ php artisan vendor:publish --provider="Byte5\LaravelInformix\InformixDBServiceProvider`

Usage

Go to config/informix.php and change your settings as you like. Remember to store sensitive data only in .env file!

Configs:

return [
    'informix' => [
        'driver'    => 'informix',
        'host'      => env('DB_IFX_HOST', 'localhost'),
        'database'  => env('DB_IFX_DATABASE', 'forge'),
        'username'  => env('DB_IFX_USERNAME', 'forge'),
        'password'  => env('DB_IFX_PASSWORD', ''),
        'service'  => env('DB_IFX_SERVICE', '11143'),
        'server'  => env('DB_IFX_SERVER', ''),
        'db_locale'   => 'en_US.819',
        'client_locale' => 'en_US.819',
        'db_encoding'   => 'GBK',
        'initSqls' => false,
        'client_encoding' => 'UTF-8',
        'prefix'    => ''
    ],
];

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages