yingquanh/laravel-dm8
最新稳定版本:v1.0.1
Composer 安装命令:
composer require yingquanh/laravel-dm8
包简介
php_dm dm8
README 文档
README
Laravel-DM8
Laravel-DM8 is an Dm Database Driver package for Laravel. Laravel-DM8 is an extension of Illuminate/Database that uses DM8 extension to communicate with Dm. Thanks to @yajra.
Documentations
- You will find user-friendly and updated documentation here: Laravel-DM8 Docs
- All about dm and php:The Underground PHP and Dm Manual
Laravel Version Compatibility
| Laravel | Package |
|---|---|
| 5.1.x | 5.1.x |
| 5.2.x | 5.2.x |
| 5.3.x | 5.3.x |
| 5.4.x | 5.4.x |
| 5.5.x | 5.5.x |
| 5.6.x | 5.6.x |
| 5.7.x | 5.7.x |
| 5.8.x | 5.8.x |
| 6.x.x | 6.x.x |
| 7.x.x | 7.x.x |
| 8.x.x | 8.x.x |
| 9.x.x | 9.x.x |
Quick Installation
composer require jackfinal/laravel-dm8
Service Provider (Optional on Laravel 5.5+)
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)
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.
Then, you can set connection data in your
.envfiles:
DB_CONNECTION=dm DB_HOST=dm.host DB_PORT=5236 DB_DATABASE=xe DB_USERNAME=hr DB_PASSWORD=hr DB_CHARSET=UTF8
Then run your laravel installation...
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-11-24