PHPackages                             githen/dmlaravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. githen/dmlaravel

ActiveLibrary

githen/dmlaravel
================

php\_dm dm8

11.0.0(1mo ago)146↓88.9%MITPHPPHP ^7.3

Since May 28Pushed 1mo agoCompare

[ Source](https://github.com/jiaoyu-cn/dmlaravel)[ Packagist](https://packagist.org/packages/githen/dmlaravel)[ RSS](/packages/githen-dmlaravel/feed)WikiDiscussions 11.x Synced 1w ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

dmlaravel
=========

[](#dmlaravel)

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
==============

[](#documentations)

You will find user-friendly and updated documentation here: [laravel-Database](https://laravel.com/docs/master/database)
Add dmphp to the php:[DMPHP](https://eco.dameng.com/document/dm/zh-cn/pm/php-rogramming-guide)

Laravel Version Compatibility
-----------------------------

[](#laravel-version-compatibility)

LaravelPackage11.x11.xmastermasterQuick Installation
------------------

[](#quick-installation)

```
composer require damengdb/dmlaravel:^11
```

Configuration (OPTIONAL)
------------------------

[](#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](http://lumen.laravel.com/docs/configuration#configuration-files), 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*00
```

Then run your laravel installation...

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/DamengDB/dmlaravel/blob/11.x/LICENSE) for more information.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance89

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 95% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

58d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/51a06d2f182ca37da5fc95e1fa8988248962856bc62e65dc0a5fbb420af3e9af?d=identicon)[githen](/maintainers/githen)

---

Top Contributors

[![dmmars](https://avatars.githubusercontent.com/u/188146326?v=4)](https://github.com/dmmars "dmmars (19 commits)")[![nanjishidu](https://avatars.githubusercontent.com/u/15984590?v=4)](https://github.com/nanjishidu "nanjishidu (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/githen-dmlaravel/health.svg)

```
[![Health](https://phpackages.com/badges/githen-dmlaravel/health.svg)](https://phpackages.com/packages/githen-dmlaravel)
```

###  Alternatives

[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k30.2M151](/packages/laravel-cashier)[laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

1.7k55.0M632](/packages/laravel-scout)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[api-platform/laravel

API Platform support for Laravel

58174.6k17](/packages/api-platform-laravel)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M133](/packages/roots-acorn)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
