PHP code example of wespals / phinx-db2-adapter

1. Go to this page and download the library: Download wespals/phinx-db2-adapter 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/ */

    

wespals / phinx-db2-adapter example snippets


use Phinx\Db\Adapter\AdapterFactory;
use PhinxDb2Adapter\PhinxDb2Adapter;

AdapterFactory::instance()->registerAdapter('ibm', PhinxDb2Adapter::class);