Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.93 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.93 KB

Laravel database profiler

SensioLabsInsight

StyleCI Build Status Coverage Status

Latest Stable Version Latest Unstable Version Total Downloads License

Provides database queries profiling for Laravel http and console applications.

Requirements

  • PHP >=5.5.9
  • Laravel >=5.1

Usage

  1. Install package through composer:

    composer require illuminated/db-profiler
  2. Add DbProfilerServiceProvider into config/app.php:

    'providers' => [
        // ...
        Illuminated\Database\DbProfilerServiceProvider::class,
    ],
  3. That's it! Enabled only for local environment, you don't need to bother about production.

HTTP Profiling

Use vvv request parameter for http profiling:

Http example

Console Profiling

Use -vvv option for console profiling:

Console example