https://github.com/dmitry-ivanov/laravel-db-profiler
Database Profiler for Laravel Web and Console Applications.
https://github.com/dmitry-ivanov/laravel-db-profiler
console-profiling database db laravel laravel-package mysql profiler profiling query sql web-profiling
Last synced: 21 days ago
JSON representation
Database Profiler for Laravel Web and Console Applications.
- Host: GitHub
- URL: https://github.com/dmitry-ivanov/laravel-db-profiler
- Owner: dmitry-ivanov
- License: mit
- Created: 2016-09-12T15:54:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-03-06T15:52:46.000Z (about 2 months ago)
- Last Synced: 2025-04-04T19:02:21.869Z (28 days ago)
- Topics: console-profiling, database, db, laravel, laravel-package, mysql, profiler, profiling, query, sql, web-profiling
- Language: PHP
- Homepage:
- Size: 3.3 MB
- Stars: 167
- Watchers: 5
- Forks: 20
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README

# Laravel Database Profiler
[
](https://buymeacoffee.com/dmitry.ivanov)
[](https://github.styleci.io/repos/68023936?branch=master)
[](https://github.com/dmitry-ivanov/laravel-db-profiler/actions?query=workflow%3Atests+branch%3Amaster)
[](https://app.codecov.io/gh/dmitry-ivanov/laravel-db-profiler/tree/master)


Database Profiler for Laravel Web and Console Applications.
> A simple tool that works correctly even with `dd()` in your code.
| Laravel | Database Profiler |
|---------|------------------------------------------------------------------------|
| 12.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
1. Install the package via Composer:
```shell script
composer require illuminated/db-profiler
```2. Use the `vvv` parameter for Web:

3. Use the `-vvv` option for Console:

## 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
[](https://laravel-idea.com)
[](https://material-theme.com)## License
Laravel Database Profiler is open-sourced software licensed under the [MIT license](LICENSE.md).
[
](https://buymeacoffee.com/dmitry.ivanov)