rdx / laravel-querylog
3.7
2026-01-27 14:00 UTC
Requires
- wikimedia/ip-utils: ^5.0
README
Not really a log, bad name, but an inline HTML display.
Enable
- Install with composer.
- Add
QUERYLOG_IPSto your.env, see examples below. - Print
querylog_html()output in your HTML somewhere.
Output:
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
