2017 © Pedro Peláez
 

library laravel-iseries

Laravel-odbc-iseris connection

image

jacksonwebservices/laravel-iseries

Laravel-odbc-iseris connection

  • Wednesday, June 22, 2016
  • by joshchandler
  • Repository
  • 1 Watchers
  • 2 Stars
  • 2,119 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 20 Forks
  • 0 Open issues
  • 16 Versions
  • 20 % Grown

The README.md

laravel-iseries

It provides DB2 Connection by extending the Illuminate Database component of the laravel framework. Tested on laravel 5.2, (*1)


A customized version of https://github.com/cooperl22/laravel-db2, (*2)

Installation

Add laravel-db2 to your composer.json file:, (*3)

"require": {
    "jacksonwebservices/laravel-iseries": "3.0.*"
}

Use composer to install this package., (*4)

$ composer update

Registering the Package

Add the laravel-db2 Service Provider to your config in app/config/app.php:, (*5)

'providers' => [
    JWS\Iseries\IseriesServiceProvider::class,
],

Configuration

Simply add this code at the end of your config/database.php file:, (*6)

  'odbc' => [
            'driver'               => 'odbc',
            'driverName'           => '{iSeries Access ODBC Driver}',
             // General settings
            'host'                 => env('DB2_HOST'),
            'username'             => env('DB2_USER'),
            'password'             => env('DB2_PASSWORD'),
            //Server settings
            'database'             => env('DB2_NAME'),
            'prefix'               => '',
            'schema'               => env('DB2_DEFAULT_SCHEMA'),
            'signon'               => 3,
            'ssl'                  => 0,
            'commitMode'           => 2,
            'connectionType'       => 0,
            'defaultLibraries'     => '',
            'naming'               => 0,
            'unicodeSql'           => 0,
            // Format settings
            'dateFormat'           => 5,
            'dateSeperator'        => 0,
            'decimal'              => 0,
            'timeFormat'           => 0,
            'timeSeparator'        => 0,
            // Performances settings
            'blockFetch'           => 1,
            'blockSizeKB'          => 32,
            'allowDataCompression' => 1,
            'concurrency'          => 0,
            'lazyClose'            => 0,
            'maxFieldLength'       => 15360,
            'prefetch'             => 0,
            'queryTimeout'         => 1,
            // Modules settings
            'defaultPkgLibrary'    => 'QGPL',
            'defaultPackage'       => 'A/DEFAULT(IBM),2,0,1,0',
            'extendedDynamic'      => 1,
            // Diagnostic settings
            'QAQQINILibrary'       => '',
            'sqDiagCode'           => '',
            // Sort settings
            'languageId'           => 'ENU',
            'sortTable'            => '',
            'sortSequence'         => 0,
            'sortWeight'           => 0,
            'jobSort'              => 0,
            // Conversion settings
            'allowUnsupportedChar' => 0,
            'ccsid'                => 1208,
            'graphic'              => 0,
            'forceTranslation'     => 0,
            // Other settings
            'allowProcCalls'       => 0,
            'DB2SqlStates'         => 0,
            'debug'                => 0,
            'trueAutoCommit'       => 0,
            'catalogOptions'       => 3,
            'libraryView'          => 0,
            'ODBCRemarks'          => 0,
            'searchPattern'        => 1,
            'translationDLL'       => '',
            'translationOption'    => 0,
            'maxTraceSize'         => 0,
            'multipleTraceFiles'   => 1,
            'trace'                => 0,
            'traceFilename'        => '',
            'extendedColInfo'      => 0,
            'options'  => [
                PDO::ATTR_CASE => PDO::CASE_LOWER,
                PDO::ATTR_EMULATE_PREPARES => false,
                PDO::ATTR_PERSISTENT => false
            ]

        ],

ENV

    DB2_host=ip_address
    DB2_user=user
    DB2_pw=pw
    DB2_ODBC_name=connectionname
    DB2_default_table=defaulttable

The Versions

22/06 2016

dev-master

9999999-dev

Laravel-odbc-iseris connection

  Sources   Download

MIT

The Requires

 

by Joshua Chandler
by Robert Davis

database laravel pdo odbc db2

22/06 2016

3.0.4

3.0.4.0

Laravel-odbc-iseris connection

  Sources   Download

MIT

The Requires

 

by Joshua Chandler
by Robert Davis

database laravel pdo odbc db2

21/06 2016

3.0.2

3.0.2.0

Laravel-odbc-iseris connection

  Sources   Download

MIT

The Requires

 

by Joshua Chandler
by Robert Davis

database laravel pdo odbc db2

21/06 2016

3.0.3

3.0.3.0

Laravel-odbc-iseris connection

  Sources   Download

MIT

The Requires

 

by Joshua Chandler
by Robert Davis

database laravel pdo odbc db2

21/06 2016

3.0.1

3.0.1.0

Laravel-odbc-iseris connection

  Sources   Download

MIT

The Requires

 

by Joshua Chandler
by Robert Davis

database laravel pdo odbc db2

26/05 2016

3.0.0

3.0.0.0

Laravel-odbc-iseris connection

  Sources   Download

MIT

The Requires

 

by Joshua Chandler
by Robert Davis

database laravel pdo odbc db2

10/05 2016

2.3.2

2.3.2.0

laravel-db2 is a simple DB2 service provider for Laravel. It provides DB2 Connection by extending the Illuminate Database component of the laravel framework.

  Sources   Download

MIT

The Requires

 

by Maxime Rault

database laravel pdo odbc db2

09/05 2016

2.3.1

2.3.1.0

laravel-db2 is a simple DB2 service provider for Laravel. It provides DB2 Connection by extending the Illuminate Database component of the laravel framework.

  Sources   Download

MIT

The Requires

 

by Maxime Rault

database laravel pdo odbc db2

04/05 2016

2.3

2.3.0.0

laravel-db2 is a simple DB2 service provider for Laravel. It provides DB2 Connection by extending the Illuminate Database component of the laravel framework.

  Sources   Download

MIT

The Requires

 

by Maxime Rault

database laravel pdo odbc db2

05/02 2016

2.2

2.2.0.0

laravel-db2 is a simple DB2 service provider for Laravel. It provides DB2 Connection by extending the Illuminate Database component of the laravel framework.

  Sources   Download

MIT

The Requires

 

by Maxime Rault

database laravel pdo odbc db2

30/07 2015

2.1.1

2.1.1.0

laravel-db2 is a simple DB2 service provider for Laravel. It provides DB2 Connection by extending the Illuminate Database component of the laravel framework.

  Sources   Download

MIT

The Requires

 

by Maxime Rault

database laravel pdo odbc db2

23/07 2015

2.1

2.1.0.0

laravel-db2 is a simple DB2 service provider for Laravel. It provides DB2 Connection by extending the Illuminate Database component of the laravel framework.

  Sources   Download

MIT

The Requires

 

by Maxime Rault

database laravel pdo odbc db2

12/06 2015

2.0.2

2.0.2.0

laravel-db2 is a simple DB2 service provider for Laravel. It provides DB2 Connection by extending the Illuminate Database component of the laravel framework.

  Sources   Download

MIT

The Requires

 

by Maxime Rault

database laravel pdo odbc db2

04/06 2015

2.0.1

2.0.1.0

laravel-db2 is a simple DB2 service provider for Laravel. It provides DB2 Connection by extending the Illuminate Database component of the laravel framework.

  Sources   Download

MIT

The Requires

 

by Maxime Rault

database laravel pdo odbc db2

06/05 2015

2.0

2.0.0.0

laravel-db2 is a simple DB2 service provider for Laravel. It provides DB2 Connection by extending the Illuminate Database component of the laravel framework.

  Sources   Download

MIT

The Requires

 

by Maxime Rault

database laravel pdo odbc db2

22/04 2015

1.0

1.0.0.0

laravel-db2 is a simple DB2 service provider for Laravel. It provides DB2 Connection by extending the Illuminate Database component of the laravel framework.

  Sources   Download

MIT

The Requires

 

by Maxime Rault

database laravel pdo odbc db2