Skip to content

Provides database queries profiling for Laravel http and console applications.

License

Notifications You must be signed in to change notification settings

TGM/laravel-db-profiler

 
 

Repository files navigation

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

About

Provides database queries profiling for Laravel http and console applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%