PHPackages                             wangl/laravel-dm8 - 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. wangl/laravel-dm8

ActiveLibrary

wangl/laravel-dm8
=================

修改可以适配laravel10+,11+框架的dm driver

v1.0.9(4mo ago)10MITPHPPHP ^8.1

Since Dec 5Pushed 4mo agoCompare

[ Source](https://github.com/595708049/laravel11-dm8)[ Packagist](https://packagist.org/packages/wangl/laravel-dm8)[ RSS](/packages/wangl-laravel-dm8/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (8)Versions (7)Used By (0)

本项目基于 jackfinal/laravel-dm8 构建，并针对 LaraveL11 进行了适配与改进。

- 源项目GitHub:

DM DB driver for Laravel via DM8
================================

[](#dm-db-driver-for-laravel-via-dm8)

Laravel-DM8
-----------

[](#laravel-dm8)

Laravel-DM8 is an Dm Database Driver package for [Laravel](http://laravel.com/). Laravel-DM8 is an extension of [Illuminate/Database](https://github.com/illuminate/database) that uses [DM8](https://eco.dameng.com/document/dm/zh-cn/faq/faq-php.html#PHP-Startup-Unable-to-load-dynamic-library) extension to communicate with Dm. Thanks to @yajra.

Documentations
--------------

[](#documentations)

- You will find user-friendly and updated documentation here: [Laravel-DM8 Docs](https://github.com/wangl/laravel-dm8)
- All about dm and php:[The Underground PHP and Dm Manual](https://eco.dameng.com/document/dm/zh-cn/app-dev/php-php.html)

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

[](#laravel-version-compatibility)

LaravelPackage11.x.x1.x.xQuick Installation
------------------

[](#quick-installation)

```
composer require wangl/laravel-dm8
```

Service Provider (Optional on Laravel 5.5+)
-------------------------------------------

[](#service-provider-optional-on-laravel-55)

Once Composer has installed or updated your packages you need to register Laravel-DM8. Open up `config/app.php` and find the providers key and add:

```
LaravelDm8\Dm8\Dm8ServiceProvider::class,
```

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.

This will copy the configuration file to `config/database.php`.

> Then, you can set connection data in your `.env` files:

```
 'connections' => [
        'mysql' => [
           …………­
        ],

        'dm' => [
            'driver'         => 'dm',
            'host'           => env('DB_HOST', '127.0.0.1'),
            'port'           => env('DB_PORT', '5236'),
            'database'       => env('DB_DATABASE', 'laravel'),
            'username'       => env('DB_USERNAME', 'laravel'),
            'password'       => env('DB_PASSWORD', 'laravel'),
            'charset'        => 'UTF8',
            'collation'      => 'utf8_general_ci',
            'prefix'         => '',
            'strict'         => true,
            'engine'         => null,
            'options' => [
                \PDO::ATTR_PERSISTENT => true,
                \PDO::ATTR_ERRMODE => \PDO::ERRMODE_EXCEPTION,
            ],
        ],
    ],
```

Then run your laravel installation...

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance75

Regular maintenance activity

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~4 days

Total

6

Last Release

136d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/752f0233a3afb4bd9f10b8c8f9789f71acfdb06b623760fc2e4a7443d6cd36fd?d=identicon)[595708049](/maintainers/595708049)

---

Top Contributors

[![595708049](https://avatars.githubusercontent.com/u/37605210?v=4)](https://github.com/595708049 "595708049 (9 commits)")

---

Tags

laravel11laravel11-dm8

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wangl-laravel-dm8/health.svg)

```
[![Health](https://phpackages.com/badges/wangl-laravel-dm8/health.svg)](https://phpackages.com/packages/wangl-laravel-dm8)
```

###  Alternatives

[livewire/livewire

A front-end framework for Laravel.

23.5k75.5M1.8k](/packages/livewire-livewire)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8703.0M17](/packages/yajra-laravel-oci8)[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[watson/validating

Eloquent model validating trait.

9723.3M47](/packages/watson-validating)[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.

44643.1k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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