PHPackages                             rdx/laravel-querylog - 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. rdx/laravel-querylog

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

rdx/laravel-querylog
====================

3.8(2mo ago)07.4k↑106.3%MITPHP

Since Feb 24Pushed 2mo ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (16)Used By (0)

Simple query log/display for Laravel
====================================

[](#simple-query-logdisplay-for-laravel)

Not really a log, bad name, but an inline HTML display.

Enable
------

[](#enable)

1. Install with composer.
2. Add `QUERYLOG_IPS` to your `.env`, see examples below.
3. Print `querylog_html()` output in your HTML somewhere.

Output:

[![querylog output](https://raw.githubusercontent.com/rudiedirkx/laravel-querylog/master/output.png)](https://raw.githubusercontent.com/rudiedirkx/laravel-querylog/master/output.png)

`QUERYLOG_IPS` examples
-----------------------

[](#querylog_ips-examples)

```
QUERYLOG_IPS=127.0.0.1
QUERYLOG_IPS=::1
QUERYLOG_IPS=192.168.0.0/16,12.23.34.45
QUERYLOG_IPS=12.23.34.45,1c10:7181:24d9::/48

```

Comma separated. **No space!** Optional CIDR range format: `addr/range`. IPv4 and IPv6 are supported.

If you want **every** IP address to show debug:

```
QUERYLOG_IPS=0.0.0.1/0,::1/0

```

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance87

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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 ~105 days

Recently: every ~92 days

Total

15

Last Release

63d ago

Major Versions

1.3 → 2.02022-11-18

2.1 → 3.02023-04-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/78549c1dc5c83ec0201c9afc66762c6d5bbf770291b12bae5a7a65350f950dba?d=identicon)[rudiedirkx](/maintainers/rudiedirkx)

---

Top Contributors

[![rudiedirkx](https://avatars.githubusercontent.com/u/168024?v=4)](https://github.com/rudiedirkx "rudiedirkx (20 commits)")

### Embed Badge

![Health badge](/badges/rdx-laravel-querylog/health.svg)

```
[![Health](https://phpackages.com/badges/rdx-laravel-querylog/health.svg)](https://phpackages.com/packages/rdx-laravel-querylog)
```

###  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)
