Skip to content

oscaragcp/SQL-Logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

A package which allows to log SQL queries in Laravel

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages