Looking to hire Laravel developers? Try LaraJobs

laravel-yashan maintained by oh86

Author
Last update
2024/05/06 12:51 (dev-main)
Links
Downloads
6

Comments
comments powered by Disqus

简介

yashandb driver implementation for Laravel

安装

composer require oh86/laravel-yashan

配置

  1. config/app.php 中添加:
'providers' => [
    ...
    Oh86\LaravelYashan\YSServiceProvider::class,
    ...
],
  1. 配置env:
DB_CONNECTION=yashan
DB_HOST=172.21.49.185
DB_PORT=1688
DB_DATABASE=YHZX    # 模式
DB_USERNAME=xxx
DB_PASSWORD=xxx