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

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

addapp/laravel-query-log
========================

Logs full mysql queries.

0.1.1(10y ago)135.4k1[1 issues](https://github.com/addappio/laravel-query-log/issues)MITPHPPHP &gt;=5.4.0

Since Mar 13Pushed 10y ago13 watchersCompare

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

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

laravel-query-log
=================

[](#laravel-query-log)

This is a service provider fully logging all mysql queries.

### Installation

[](#installation)

```
composer require addapp/laravel-query-log "~0.1" --dev
```

Add the service provider to a **NON-PRODUCTION** config file:

```
// config/local/app.php

return [

    'providers' => append_config([
        'Addapp\QueryLog\QueryLogServiceProvider'

    ]),

]
```

### Result

[](#result)

Run `php artisan tail` and watch:

[![image 2015-03-13 at 15 40 07](https://cloud.githubusercontent.com/assets/1785686/6640405/647d90f0-c997-11e4-920b-821d2a34f7c3.jpg)](https://cloud.githubusercontent.com/assets/1785686/6640405/647d90f0-c997-11e4-920b-821d2a34f7c3.jpg)

The queries logged are valid mysql queries!

### Credits

[](#credits)

Credits go to the people answering this [stackoverflow question](http://stackoverflow.com/questions/19131731/laravel-4-logging-sql-queries).

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.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 ~168 days

Total

2

Last Release

3911d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ba217ec530cda9762eb1b58c8f74d358c021dfe51755c1f846dc1375282080ce?d=identicon)[dimsav](/maintainers/dimsav)

---

Top Contributors

[![dimsav](https://avatars.githubusercontent.com/u/1785686?v=4)](https://github.com/dimsav "dimsav (7 commits)")[![bramdevries](https://avatars.githubusercontent.com/u/1002245?v=4)](https://github.com/bramdevries "bramdevries (1 commits)")

---

Tags

loglaravelmysqlquery

### Embed Badge

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

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

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[itelmenko/laravel-mysql-logger

Laravel MySQL driver for Monolog

21141.9k](/packages/itelmenko-laravel-mysql-logger)[markhilton/monolog-mysql

Laravel 8 MySQL driver for Monolog

40140.8k](/packages/markhilton-monolog-mysql)[muhdfaiz/laravel-tail-db

Provide artisan command to monitor realtime database query executed from the application. Able to automatically run explain command for each of query received.

5826.7k](/packages/muhdfaiz-laravel-tail-db)[sarfraznawaz2005/indexer

Laravel package to monitor SELECT queries and offer best possible INDEX fields.

562.7k](/packages/sarfraznawaz2005-indexer)

PHPackages © 2026

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