Download the PHP package mitoop/laravel-query-logger without Composer
On this page you can find all versions of the php package mitoop/laravel-query-logger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-query-logger
Laravel Query Logger
🍎 记录 SQL 执行日志
安装
配置
在 config/logging.php
新增配置
可以在 AppServiceProvider
的 register
方法中设置自定义触发条件
- 默认行为:如果没有设置触发条件,默认情况下,触发条件为
true
,日志记录完全依赖于总开关query.enabled
配置。 - 自定义触发条件:绑定触发条件后,SQL 查询日志将仅在 总开关 和 触发条件 都为
true
时才会记录。
All versions of laravel-query-logger with dependencies
PHP Build Version
Package Version
Requires
illuminate/support Version
^6|^7|^8|^9|^10|^11
The package mitoop/laravel-query-logger contains the following files
Loading the files please wait ....