xabou/sql-dumper

Laravel SQL Queries Dumper
875 1
Install
composer require xabou/sql-dumper
Latest Version:v0.0.2
License:MIT
Last Updated:Jan 11, 2020
Links: GitHub  ·  Packagist
Maintainer: xabou

Abandoned

All good things come to an end. Thanks everyone for using this package :)

Laravel SQL Dumper

Display SQL queries executed for current page.

Installation

1. Require via composer

Add the xabou/sql-dumper Composer dependency to your project.

composer require xabou/sql-dumper

2. Register Service Provider

Open config/app.php and append providers array with:

Xabou\SqlDumper\SqlDumperServicePRovider::class

Configuration

Publish Dumper's configuration file to enable\disable it .

php artisan vendor:publish --tag=sql-dumper-config

A config file with name sql-dumper.php will be created.

return [

    /*
   |--------------------------------------------------------------------------
   | Feature Flag
   |--------------------------------------------------------------------------
   |
   | Here you can enable\disable dumper.
   |
   */

    'enabled' => true,
];

Usage

Enable dumper through config file and see every SQL query executed for current page.

Note: Dumper will only render queries in any non production environment.

License

This package is released under the MIT License.

Related Packages

stolz/laravel-schema-spy

Laravel artisan command that uses JAVA schemaSpy tool to generate a graphical re...

21,805 43
laravel/database

Get Laravel database for your non laravel projects. Built on top of illuminate/d...

36,155 90
illuminate/database

The Illuminate Database package.

55,926,500 2,773
fobia/laravel-sphinx

A Laravel query builder for SphinxQL

139,832 31