PHPackages                             rodrigopedra/laravel-query-logger - 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. [Database &amp; ORM](/categories/database)
4. /
5. rodrigopedra/laravel-query-logger

ActiveLibrary[Database &amp; ORM](/categories/database)

rodrigopedra/laravel-query-logger
=================================

Laravel query logger

v8.0.0(3mo ago)1212.0k1MITPHPPHP ^8.3

Since Aug 14Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/rodrigopedra/laravel-query-logger)[ Packagist](https://packagist.org/packages/rodrigopedra/laravel-query-logger)[ RSS](/packages/rodrigopedra-laravel-query-logger/feed)WikiDiscussions 8.x Synced 2d ago

READMEChangelog (10)Dependencies (8)Versions (40)Used By (0)

Query Logger for Laravel
========================

[](#query-logger-for-laravel)

- *for Laravel versions 5.0 and 5.1 use the 1.0 release*
- *for Laravel versions from 5.2 to 7.x with PHP &lt; 7.4 use 2.x release*

Writes all queries to the log when `APP_DEBUG=true`.

This package tries to replace the bindings with their values so SQL queries becomes easier to debug.

Installation
------------

[](#installation)

```
composer require rodrigopedra/laravel-query-logger --dev

```

Configuration
-------------

[](#configuration)

As releases 3.x+ requires at least Laravel version 5.5, the service provider should be configured automatically using Laravel's package auto-discovery.

If you are not using pakacge auto-discovery, you will need to add the provider to your `config/app.php`:

```
// in your config/app.php add the provider to the service providers array

'providers' => [
    /* ... */

    'RodrigoPedra\QueryLogger\QueryLoggerServiceProvider',
]
```

### License

[](#license)

This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance81

Actively maintained with recent releases

Popularity31

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity90

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 97.5% 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 ~99 days

Total

40

Last Release

101d ago

Major Versions

v4.4.0 → v5.0.02022-03-07

v4.5.0 → 5.x-dev2022-10-06

v5.2.0 → v6.0.02023-02-15

v6.2.0 → v7.0.02025-02-24

v7.2.0 → v8.0.02026-03-25

PHP version history (6 changes)v2.0PHP &gt;=5.4

v3.0.0PHP &gt;=7.4

v5.0.0PHP ^8.0

v6.0.0PHP ^8.1

v7.0.0PHP ^8.2

v8.0.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/28b79e134ef3cb5144da8f2c5af057533fcdf0afc1b7b083e8eafbbc8ee08a67?d=identicon)[rodrigo.pedra](/maintainers/rodrigo.pedra)

---

Top Contributors

[![rodrigopedra](https://avatars.githubusercontent.com/u/5470108?v=4)](https://github.com/rodrigopedra "rodrigopedra (39 commits)")[![jarnovanleeuwen](https://avatars.githubusercontent.com/u/1358997?v=4)](https://github.com/jarnovanleeuwen "jarnovanleeuwen (1 commits)")

---

Tags

laravelquery loggerrodrigopedra

### Embed Badge

![Health badge](/badges/rodrigopedra-laravel-query-logger/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M195](/packages/laravel-ai)[illuminate/database

The Illuminate Database package.

2.8k54.9M11.6k](/packages/illuminate-database)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2051.5M2](/packages/glushkovds-phpclickhouse-laravel)

PHPackages © 2026

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