Skip to content

dmitry-ivanov/laravel-db-profiler

Repository files navigation

Database Profiler for Laravel Web and Console Applications

Laravel Database Profiler

Buy me a coffee

StyleCI Build Status Coverage Status

Packagist Version Packagist Stars Packagist Downloads Packagist License

Database Profiler for Laravel Web and Console Applications.

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

Laravel Database Profiler
11.x Support
10.x 10.x
9.x 9.x
8.x 8.x
7.x 7.x
6.x 6.x
5.8.* 5.8.*
5.7.* 5.7.*
5.6.* 5.6.*
5.5.* 5.5.*
5.4.* 5.4.*
5.3.* 5.3.*
5.2.* 5.2.*
5.1.* 5.1.*

Usage

  1. Install the package via Composer:

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

    Laravel Database Profiler - Demo - Web

  3. Use the -vvv option for Console:

    Laravel Database Profiler - Demo - 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

Laravel Idea
Material Theme UI Plugin

License

Laravel Database Profiler is open-sourced software licensed under the MIT license.

Buy me a coffee