定制 dmmars/dmlaravel 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dmmars/dmlaravel

最新稳定版本:11.0.3

Composer 安装命令:

composer require dmmars/dmlaravel

包简介

php_dm dm8

README 文档

README

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.

Documentations

You will find user-friendly and updated documentation here: laravel-Database
Add dmphp to the php:DMPHP

Laravel Version Compatibility

Laravel Package
11.x 11.x
master master

Quick Installation

composer require dmmars/dmlaravel:^11

Configuration (OPTIONAL)

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.php file 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 .env files:

DB_CONNECTION=dm
DB_HOST=localhost
DB_PORT=5236
DB_SCHEMA=SYSDBA
DB_USERNAME=SYSDBA
DB_PASSWORD=SYSDBA

Then run your laravel installation...

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固