377 B
377 B
Lumen 的sql记录组件
引入
composer config repositories.lumen-sql-logger vcs git@git.int.haowumc.com:arch/lumen-sql-logger.git
composer require --dev arch/lumen-sql-logger
开启
if (env('APP_ENV') == 'local') {
$app->register(Arch\EventServiceProvider::class);
}
###配置 在.env中增加如下配置
APP_NAME = api