laravel-yashan maintained by oh86
简介
yashandb driver implementation for Laravel
安装
composer require oh86/laravel-yashan
配置
- 在
config/app.php中添加:
'providers' => [
...
Oh86\LaravelYashan\YSServiceProvider::class,
...
],
- 配置env:
DB_CONNECTION=yashan
DB_HOST=172.21.49.185
DB_PORT=1688
DB_DATABASE=YHZX # 模式
DB_USERNAME=xxx
DB_PASSWORD=xxx