PHPackages                             haruncpi/laravel-query-log - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. haruncpi/laravel-query-log

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

haruncpi/laravel-query-log
==========================

Log your all laravel sql query

v1.0.1(3y ago)4017.6k—3.3%9[1 issues](https://github.com/haruncpi/laravel-query-log/issues)cc-by-4.0PHPPHP &gt;=5.6.0

Since Feb 13Pushed 2y ago4 watchersCompare

[ Source](https://github.com/haruncpi/laravel-query-log)[ Packagist](https://packagist.org/packages/haruncpi/laravel-query-log)[ RSS](/packages/haruncpi-laravel-query-log/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Laravel Query Log
=================

[](#laravel-query-log)

 [![](https://camo.githubusercontent.com/899e9ddd57433644b5d7aded59339f0a2a290f7b9eb38d94060b16956064fa22/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f686172756e6370692f6c61726176656c2d71756572792d6c6f67)](https://packagist.org/packages/haruncpi/laravel-query-log) [![](https://camo.githubusercontent.com/01a1a117452a6379999a6eadf9cf59961b0c1897ce5bbfa2f2ac0f293041c9f3/68747470733a2f2f62616467656e2e6e65742f62616467652f6c6963656e63652f434320425920342e302f323342434342)](https://creativecommons.org/licenses/by/4.0/) ![](https://camo.githubusercontent.com/3746dc0866029286eecdd7fe8ed0a2ad8d4394505025bccd5b00c8718c0c915c/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f64742f686172756e6370692f6c61726176656c2d71756572792d6c6f67) [![](https://camo.githubusercontent.com/7f8cee3656ebee78699563210e0362ae77dc119264f2edcdc563221fd0fb0bd1/68747470733a2f2f62616467656e2e6e65742f62616467652f747769747465722f406c61726176656c61727469636c652f3144413146323f69636f6e266c6162656c)](https://twitter.com/laravelarticle) [![](https://camo.githubusercontent.com/44c8929947e2d794413952cd3b9e416c360782412c17ea38b11aea1fd7db170c/68747470733a2f2f62616467656e2e6e65742f62616467652f66616365626f6f6b2f6c61726176656c61727469636c652f336235393938)](https://facebook.com/laravelarticle)

Log executed Laravel SQL queries and their line number and more!

Support
-------

[](#support)

[![Buy Me A Coffee](https://camo.githubusercontent.com/0cf29a542375e1a46e84d8bf5805a4e5c0a6ee98b6547ccdc0c55eed49d99c69/68747470733a2f2f63646e2e6275796d6561636f666665652e636f6d2f627574746f6e732f76322f64656661756c742d79656c6c6f772e706e67)](https://www.buymeacoffee.com/haruncpi)

Documentation
-------------

[](#documentation)

Get documentation on [laravelarticle.com](https://laravelarticle.com/laravel-query-log)

Sample Preview
--------------

[](#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
--------------

[](#other-packages)

- [Laravel Log Reader](https://github.com/haruncpi/laravel-log-reader) - A simple and beautiful laravel log reader.
- [Laravel H](https://github.com/haruncpi/laravel-h) - A helper package for Laravel Framework.
- [Laravel Simple Filemanager](https://github.com/haruncpi/laravel-simple-filemanager) - A simple filemanager for Laravel.
- [Laravel Option Framework](https://github.com/haruncpi/laravel-option-framework) - Option framework for Laravel.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~220 days

Total

2

Last Release

1335d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ccb60a7a5a21d3f5ade112c82454c9ad6b7c8bace01b14f3715e47a2c86e8b7?d=identicon)[haruncpi](/maintainers/haruncpi)

---

Top Contributors

[![haruncpi](https://avatars.githubusercontent.com/u/11594794?v=4)](https://github.com/haruncpi "haruncpi (3 commits)")

---

Tags

laravellaravel-developerlaravel-frameworklaravel-packagelaravel-query-logquery-log

### Embed Badge

![Health badge](/badges/haruncpi-laravel-query-log/health.svg)

```
[![Health](https://phpackages.com/badges/haruncpi-laravel-query-log/health.svg)](https://phpackages.com/packages/haruncpi-laravel-query-log)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[ekino/newrelic-bundle

Integrate New Relic into Symfony2

28111.2M8](/packages/ekino-newrelic-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
