haruncpi / laravel-query-log
Log your all laravel sql query
Installs: 16 272
Dependents: 0
Suggesters: 0
Security: 0
Stars: 38
Watchers: 4
Forks: 9
Open Issues: 1
pkg:composer/haruncpi/laravel-query-log
Requires
- php: >=5.6.0
This package is auto-updated.
Last update: 2025-10-21 09:09:44 UTC
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.