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(1mo ago)1211.8k1MITPHPPHP ^8.3

Since Aug 14Pushed 10mo 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 7.x Synced 1mo 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

55

—

FairBetter than 98% of packages

Maintenance70

Regular maintenance activity

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.4% 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

49d 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 (38 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

[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[watson/validating

Eloquent model validating trait.

9723.3M47](/packages/watson-validating)[dyrynda/laravel-model-uuid

This package allows you to easily work with UUIDs in your Laravel models.

4802.8M8](/packages/dyrynda-laravel-model-uuid)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k302.7k1](/packages/cybercog-laravel-love)

PHPackages © 2026

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