/laravel-db-profiler

Provides database queries profiling for Laravel http and console applications.

Primary LanguagePHPMIT LicenseMIT

Laravel Database Profiler

StyleCI Build Status Coverage Status

Latest Stable Version Latest Unstable Version Total Downloads License

Provides database queries profiling for Laravel http and console applications.

Laravel Database Profiler
5.1.* 5.1.*
5.2.* 5.2.*
5.3.* 5.3.*
5.4.* 5.4.*
5.5.* 5.5.*
5.6.* 5.6.*

Enabled only for local environment, you don't need to bother about production.

If you wish to enable profiling on other environments, use db-profiler.force config variable.

Usage

  1. Install package through composer:

    composer require illuminated/db-profiler
  2. That's it! Use vvv request parameter or -vvv cli option to enable profiling.

HTTP Profiling

Use vvv request parameter for http profiling:

Http example

Console Profiling

Use -vvv option for console profiling:

Console example