duorenwei / laravel-dm8
DM8 database driver for Laravel with project-maintained fixes.
v1.1.2
2026-04-22 05:45 UTC
Requires
- php: ^8.0
- ext-pdo: *
- illuminate/database: ^9.0
- illuminate/pagination: ^9.0
- illuminate/support: ^9.0
- illuminate/validation: ^9.0
README
duorenwei/laravel-dm8 is a Laravel 9 DM8 database driver package maintained
from the original maxlcoder/laravel-dm8 codebase and extended with
project-level fixes.
Included Fixes
- DSN charset handling for
pdo_dm selectOne()compatibility for nestedrownumqueries- query grammar adjustments used by the project
insertGetId()and LOB processor fixes- schema prefix support in published config
Requirements
- PHP 8.0+
- Laravel 9.x database components
- DM8 PDO extension available in the runtime environment
Installation
composer require duorenwei/laravel-dm8
Laravel package discovery will register these service providers automatically:
Duorenwei\LaravelDm8\Dm8\Dm8ServiceProviderDuorenwei\LaravelDm8\Dm8\Dm8ValidationServiceProvider
Local Path Development
When this package is developed inside another project repository, it can be
consumed through a Composer path repository:
{
"repositories": [
{
"type": "path",
"url": "packages/duorenwei/laravel-dm8",
"options": {
"symlink": false
}
}
]
}
Then refresh the mirrored vendor copy with:
composer update duorenwei/laravel-dm8 --with-all-dependencies --no-scripts
Release Notes
Use Git tags as package versions when publishing to a VCS or Composer
repository. Do not maintain a manual version field in composer.json.