martdb-php / martdb
martdb driver connneter
v1.0.0
2022-10-24 10:23 UTC
Requires
- php: >=7.0
- thrift-php/thrift: 1.*
This package is auto-updated.
Last update: 2024-05-10 09:25:35 UTC
README
Laravel MartDB 使用文档 主包:martdb-php 依赖包:thrift-php
加载类包 切到项目跟路径下执行:
composer require martdb-php/martdb 1.0.0
加载服务 切换到项目配置
config/app.php
找到providers 添加类MartdbServiceProvider::class
打包发布 切换到项目根目录下执行
php artisan vendor:publish --provider="Martdb\MartdbServiceProvider"
, 这时生成该服务配置项config/martdb.php
.