PHPackages                             illuminated/db-profiler - 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. illuminated/db-profiler

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

illuminated/db-profiler
=======================

Database Profiler for Laravel Web and Console Applications.

12.0.0(1y ago)168237.4k↑69%20[1 PRs](https://github.com/dmitry-ivanov/laravel-db-profiler/pulls)MITPHPPHP ^8.2CI passing

Since Sep 13Pushed 1y ago4 watchersCompare

[ Source](https://github.com/dmitry-ivanov/laravel-db-profiler)[ Packagist](https://packagist.org/packages/illuminated/db-profiler)[ RSS](/packages/illuminated-db-profiler/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (83)Used By (0)

[![Database Profiler for Laravel Web and Console Applications](art/1380x575-optimized.jpg)](art/1380x575-optimized.jpg)

Laravel Database Profiler
=========================

[](#laravel-database-profiler)

[![Buy me a coffee](https://user-images.githubusercontent.com/1286821/181085373-12eee197-187a-4438-90fe-571ac6d68900.png)](https://buymeacoffee.com/dmitry.ivanov)

[![StyleCI](https://camo.githubusercontent.com/bbbb93d48adc6f56f249b28994b9e4924b755085ca63b5f27c9050094c13fa20/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f36383032333933362f736869656c643f6272616e63683d6d6173746572267374796c653d666c6174)](https://github.styleci.io/repos/68023936?branch=master)[![Build Status](https://camo.githubusercontent.com/cd6eed9c75ef2bb1a58dec0ac20dc7733f2c66ddc67fc07f4bdf2a92a58d4d7c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f646d697472792d6976616e6f762f6c61726176656c2d64622d70726f66696c65722f74657374732e796d6c3f6272616e63683d6d6173746572)](https://github.com/dmitry-ivanov/laravel-db-profiler/actions?query=workflow%3Atests+branch%3Amaster)[![Coverage Status](https://camo.githubusercontent.com/f8e0240e265a131814aebfc60c2415d15aed7f48e8c0e05a7e4a5c6e067d7369/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f646d697472792d6976616e6f762f6c61726176656c2d64622d70726f66696c65722f6d6173746572)](https://app.codecov.io/gh/dmitry-ivanov/laravel-db-profiler/tree/master)

[![Packagist Version](https://camo.githubusercontent.com/04ca0a538a8a3a5a2ebc8370b018f4b34a34065f8d3f2723f55217203329b314/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696c6c756d696e617465642f64622d70726f66696c6572)](https://camo.githubusercontent.com/04ca0a538a8a3a5a2ebc8370b018f4b34a34065f8d3f2723f55217203329b314/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696c6c756d696e617465642f64622d70726f66696c6572)[![Packagist Stars](https://camo.githubusercontent.com/1a59b7ef579b5e899d6d5c86e0639240aa2f1d659b37c5b07176dfbb4d378ccb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f73746172732f696c6c756d696e617465642f64622d70726f66696c6572)](https://camo.githubusercontent.com/1a59b7ef579b5e899d6d5c86e0639240aa2f1d659b37c5b07176dfbb4d378ccb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f73746172732f696c6c756d696e617465642f64622d70726f66696c6572)[![Packagist Downloads](https://camo.githubusercontent.com/dc9612896392318c60260852b48ebc8f4376c818bed060873a0b2213798efb47/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696c6c756d696e617465642f64622d70726f66696c6572)](https://camo.githubusercontent.com/dc9612896392318c60260852b48ebc8f4376c818bed060873a0b2213798efb47/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696c6c756d696e617465642f64622d70726f66696c6572)[![Packagist License](https://camo.githubusercontent.com/8ab6dac221c01c2f371105c6a3d31ff3590582f7e8619acfb7fd599c36cc7379/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f696c6c756d696e617465642f64622d70726f66696c6572)](https://camo.githubusercontent.com/8ab6dac221c01c2f371105c6a3d31ff3590582f7e8619acfb7fd599c36cc7379/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f696c6c756d696e617465642f64622d70726f66696c6572)

Database Profiler for Laravel Web and Console Applications.

> A simple tool that works correctly even with `dd()` in your code.

LaravelDatabase Profiler12.x[12.x](https://github.com/dmitry-ivanov/laravel-db-profiler/tree/12.x)11.x[11.x](https://github.com/dmitry-ivanov/laravel-db-profiler/tree/11.x)10.x[10.x](https://github.com/dmitry-ivanov/laravel-db-profiler/tree/10.x)9.x[9.x](https://github.com/dmitry-ivanov/laravel-db-profiler/tree/9.x)8.x[8.x](https://github.com/dmitry-ivanov/laravel-db-profiler/tree/8.x)7.x[7.x](https://github.com/dmitry-ivanov/laravel-db-profiler/tree/7.x)6.x[6.x](https://github.com/dmitry-ivanov/laravel-db-profiler/tree/6.x)5.8.\*[5.8.\*](https://github.com/dmitry-ivanov/laravel-db-profiler/tree/5.8)5.7.\*[5.7.\*](https://github.com/dmitry-ivanov/laravel-db-profiler/tree/5.7)5.6.\*[5.6.\*](https://github.com/dmitry-ivanov/laravel-db-profiler/tree/5.6)5.5.\*[5.5.\*](https://github.com/dmitry-ivanov/laravel-db-profiler/tree/5.5)5.4.\*[5.4.\*](https://github.com/dmitry-ivanov/laravel-db-profiler/tree/5.4)5.3.\*[5.3.\*](https://github.com/dmitry-ivanov/laravel-db-profiler/tree/5.3)5.2.\*[5.2.\*](https://github.com/dmitry-ivanov/laravel-db-profiler/tree/5.2)5.1.\*[5.1.\*](https://github.com/dmitry-ivanov/laravel-db-profiler/tree/5.1)Usage
-----

[](#usage)

1. Install the package via Composer:

    ```
    composer require illuminated/db-profiler
    ```
2. Use the `vvv` parameter for Web:

    [![Laravel Database Profiler - Demo - Web](doc/img/demo-web-c.gif)](doc/img/demo-web-c.gif)
3. Use the `-vvv` option for Console:

    [![Laravel Database Profiler - Demo - Console](doc/img/demo-console.gif)](doc/img/demo-console.gif)

Local by default
----------------

[](#local-by-default)

Enabled only for the `local` environment, so you don't have to worry about `production`.

If you want to force profiling for non-local environments - specify it explicitly in your `.env` file:

> DB\_PROFILER\_FORCE=true

Sponsors
--------

[](#sponsors)

[![Laravel Idea](art/sponsor-laravel-idea.png)](https://laravel-idea.com)
[![Material Theme UI Plugin](art/sponsor-material-theme.png)](https://material-theme.com)

License
-------

[](#license)

Laravel Database Profiler is open-sourced software licensed under the [MIT license](LICENSE.md).

[![Buy me a coffee](https://user-images.githubusercontent.com/1286821/181085373-12eee197-187a-4438-90fe-571ac6d68900.png)](https://buymeacoffee.com/dmitry.ivanov)

###  Health Score

56

—

FairBetter than 98% of packages

Maintenance44

Moderate activity, may be stable

Popularity51

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity91

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 99.7% 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 ~38 days

Recently: every ~91 days

Total

82

Last Release

438d ago

Major Versions

7.x-dev → 8.x-dev2021-03-04

8.x-dev → 9.0.02022-03-11

9.x-dev → 10.x-dev2024-03-06

10.0.0 → 11.0.02025-03-06

11.x-dev → 12.0.02025-03-06

PHP version history (12 changes)0.1.1PHP &gt;=5.5.9

1.0.2PHP &gt;=5.6.4

5.5.0PHP &gt;=7.0

5.6.0PHP ^7.1.3

6.0.0PHP ^7.2

7.0.0PHP ^7.2.5

8.0.0PHP ^7.3

6.2.0PHP ^7.2.5|^8.0

8.1.0PHP ^7.3|^8.0

9.0.0PHP ^8.0.2

10.x-devPHP ^8.1

11.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b6a68d578b4021fbe05838e8e71ccd44b07879ffda6b7ec05c1deb65d0c88f8?d=identicon)[dmitry-ivanov](/maintainers/dmitry-ivanov)

---

Top Contributors

[![dmitry-ivanov](https://avatars.githubusercontent.com/u/1286821?v=4)](https://github.com/dmitry-ivanov "dmitry-ivanov (287 commits)")[![itbdw](https://avatars.githubusercontent.com/u/1267057?v=4)](https://github.com/itbdw "itbdw (1 commits)")

---

Tags

console-profilingdatabasedblaravellaravel-packagemysqlprofilerprofilingquerysqlweb-profilinglaravelprofilerdatabaseprofilingmysqlsqlquerydbweb-profilingconsole-profiling

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/illuminated-db-profiler/health.svg)

```
[![Health](https://phpackages.com/badges/illuminated-db-profiler/health.svg)](https://phpackages.com/packages/illuminated-db-profiler)
```

###  Alternatives

[aura/sqlquery

Object-oriented query builders for MySQL, Postgres, SQLite, and SQLServer; can be used with any database connection library.

4572.9M34](/packages/aura-sqlquery)[danielme85/laravel-log-to-db

Custom Laravel Log channel handler that can store log events to SQL or MongoDB databases. Uses Laravel native logging functionality.

135934.5k1](/packages/danielme85-laravel-log-to-db)[atlas/query

Object-oriented query builders and performers for MySQL, Postgres, SQLite, and SQLServer.

41249.0k7](/packages/atlas-query)[sarfraznawaz2005/indexer

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

562.7k](/packages/sarfraznawaz2005-indexer)[eusonlito/laravel-database-cache

Cache Database Query results on Laravel Query Builder or Eloquent

194.2k](/packages/eusonlito-laravel-database-cache)

PHPackages © 2026

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