New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

libern/laravel-sql-logging

Laravel 5 package for logging SQL queries.
4,600
Install
composer require libern/laravel-sql-logging:dev-master
PHP:>=5.4.0
License:MIT
Last Updated:Oct 7, 2017
Links: GitHub  ·  Packagist
Maintainer: libern

Laravel 5 SQL Logger

Laravel 5 package for logging SQL queries.

Install

Require this package with composer using the following command:

composer require libern/laravel-sql-logging

Or just add libern/laravel-sql-logging to your composer.json file:

{
    "require": {
        "libern/laravel-sql-logging": "dev-master"
    }
}

After updating composer, add the service provider to the providers array in config/app.php

"Libern\SqlLogging\SqlLoggingServiceProvider",

You can also publish the config file to enable/disable the logging.

php artisan vendor:publish --provider="Libern\SqlLogging\SqlLoggingServiceProvider"

Related Packages

oscaragcp/sql-logging

Laravel 5 package for logging SQL queries.

120 2
cerbero/sql-dumper

Laravel package to dump SQL queries.

7,696 23
ka4ivan/laravel-logger

A Laravel package for advanced logging, providing structured logs, contextual in...

1,078 5
hryha/request-logger

A Laravel/Lumen package to log requests and responses

22,439 1
emotality/laravel-telegram-logger

Laravel package to report exceptions to a Telegram chat, group or channel.

12,936 2