PHP code example of lamb / laravel-generic-database
1. Go to this page and download the library: Download lamb/laravel-generic-database library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
lamb / laravel-generic-database example snippets
'providers' => array(
'Lamb\LaravelGenericDatabase\GenericDatabaseServiceProvider'
)
'odbc' => array(
'driver' => 'generic',
'dsn' => 'odbc:DRIVER={IBM DB2 ODBC DRIVER};HOSTNAME=localhost;PORT=50000;DATABASE=SAMPLE;PROTOCOL=TCPIP;UID=db2inst1;PWD=ibmdb2;'
),