PHP code example of damengdb / dmlaravel

1. Go to this page and download the library: Download damengdb/dmlaravel 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/ */

    

damengdb / dmlaravel example snippets


'dm' => [
    'driver'         => 'dm',
    'host'           => env('DB_HOST', 'localhost'),
    'port'           => env('DB_PORT', '5236'),
    'database'       => env('DB_DATABASE', ''),
    'schema'         => env('DB_SCHEMA', ''),
    'username'       => env('DB_USERNAME', ''),
    'password'       => env('DB_PASSWORD', ''),
    'charset'        => env('DB_CHARSET', 'UTF8'),
    'prefix'         => env('DB_PREFIX', ''),
],
bash
php artisan vendor:publish --tag=dm
ini
DB_CONNECTION=dm
DB_HOST=localhost
DB_PORT=5236
DB_SCHEMA=SYSDBA
DB_USERNAME=SYSDBA
DB_PASSWORD=sysDBA*00