haruncpi/laravel-query-log
Composer 安装命令:
composer require haruncpi/laravel-query-log
包简介
Log your all laravel sql query
README 文档
README
Log executed Laravel SQL queries and their line number and more!
Support
Documentation
Get documentation on laravelarticle.com
Sample Preview
text format
url : http://example.test
method : GET
total_query : 3
total_time : 5.69
--------------------
sl : 1
query : select * from `students` where `id` = ? and `name` = ?
bindings : 6|Tomas
final_query : select * from `students` where `id` = 6 and `name` = 'Tomas'
time : 4.38
file : C:\www\example\app\Http\Controllers\SiteController.php:10
line : 10
sl : 2
query : select * from `students` where `id` = ? and `phone` = ?
bindings : 6|649-768-7305
final_query : select * from `students` where `id` = 6 and `phone` = '649-768-7305'
time : 0.75
file : C:\www\example\app\Http\Controllers\SiteController.php:11
line : 11
sl : 3
query : select * from `students` where `id` = ?
bindings : 6
final_query : select * from `students` where `id` = 6
time : 0.56
file : C:\www\example\app\Http\Controllers\SiteController.php:12
line : 12
Other Packages
- Laravel Log Reader - A simple and beautiful laravel log reader.
- Laravel H - A helper package for Laravel Framework.
- Laravel Simple Filemanager - A simple filemanager for Laravel.
- Laravel Option Framework - Option framework for Laravel.
haruncpi/laravel-query-log 适用场景与选型建议
haruncpi/laravel-query-log 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 18.76k 次下载、GitHub Stars 达 40, 最近一次更新时间为 2022 年 02 月 13 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 haruncpi/laravel-query-log 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 haruncpi/laravel-query-log 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 18.76k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 40
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: cc-by-4.0
- 更新时间: 2022-02-13