Skip to content

libern/laravel-sql-logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

Laravel 5 SQL Logger

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages