oscaragcp / SQL-Logging by oscar.agcp

Laravel 5 package for logging SQL queries.
119
2
2
Package Data
Maintainer Username: oscar.agcp
Maintainer Contact: oscar.agcp@gmail.com (Óscar A. González de Chaves Pérez)
Package Create Date: 2015-11-19
Package Last Update: 2016-05-12
Language: PHP
License: MIT
Last Refreshed: 2024-04-22 03:07:46
Package Statistics
Total Downloads: 119
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Laravel 5 SQL Logger

Latest Stable Version Total Downloads

Laravel 5 package for logging SQL queries.

Install

Require this package with composer using the following command:

composer require oscaragcp/sql-logging

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

{
    "require": {
        "oscaragcp/sql-logging": "dev-master"
    }
}

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

"OscarAGCP\SqlLogging\SqlLoggingServiceProvider",

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

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