damengdb/dmlaravel is a Laravel package for php_dm dm8.
It currently has 0 GitHub stars and 54 downloads on Packagist (latest version 11.0.3).
Install it with composer require damengdb/dmlaravel.
Discover more Laravel packages by damengdb
or browse all Laravel packages to compare alternatives.
Last updated
dmlaravel is a DM Database Driver package for Laravel. dmlaravel is an extension of Illuminate/Database that uses dmpdo extension to communicate with DM. Thanks to @yajra.
You will find user-friendly and updated documentation here: laravel-Database
Add dmphp to the php:DMPHP
Laravel | Package :---------|:---------- 11.x | 11.x master | master
composer require damengdb/dmlaravel:^11
Finally you can optionally publish a configuration file by running the following Artisan command.
If config file is not publish, the package will automatically use what is declared on your .env file database configuration.
php artisan vendor:publish --tag=dm
This will copy the configuration file to config/dm.php.
Note: For Laravel Lumen configuration, make sure you have a
config/database.phpfile on your project and append the configuration below:
'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', ''),
],
Then, you can set connection data in your
.envfiles:
DB_CONNECTION=dm
DB_HOST=localhost
DB_PORT=5236
DB_SCHEMA=SYSDBA
DB_USERNAME=SYSDBA
DB_PASSWORD=sysDBA*00
Then run your laravel installation...
The MIT License (MIT). Please see License File for more information.