nguyenhiep/db-profiler

Database Profiler for Laravel Web and Console Applications.

Installs: 72

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 20

Open Issues: 0

pkg:composer/nguyenhiep/db-profiler


README

  1. Install the package via Composer:

    composer require nguyenhiep/db-profiler:v1.2
  2. Publish config

    php artisan vendor:publish --provider="Illuminated\Database\DbProfilerServiceProvider"
  3. Use the vvv parameter for Web:

    Laravel Database Profiler - Demo - Web Laravel Database Profiler - Demo - Ajax request

  4. 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

License

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