Download the PHP package dipenparmar12/laravel-query-log without Composer
On this page you can find all versions of the php package dipenparmar12/laravel-query-log. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dipenparmar12/laravel-query-log
More information about dipenparmar12/laravel-query-log
Files in dipenparmar12/laravel-query-log
Package laravel-query-log
Short Description A Laravel package for log queries in user defined log channel. Your all queries will save in the log file, and you can view it anytime.
License MIT
Informations about the package laravel-query-log
Laravel Query Log
A Laravel package for log queries in user defined log channel. Your all queries will save in the log file, and you can view it anytime.
Installation
Install the package via composer:
Note: Make sure this package used only in development environment, Otherwise may you face decreased performance in production.
Optionally, you can publish the config file of this package with this command:
php artisan vendor:publish --provider="Dipenparmar12\QueryLog\StoreQueryLogServiceProvider" --tag="config"
The following config file will be published in config/querylog.php
Usage
If you want to disable query log completely. change the following in file
If we want to use query logging in multiple log channels, we can archive it by following
Note: Make sure the name specified in this option should match one of the channels defined in the channels configuration array.
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Dipen Parmar
- All Contributors
License
The MIT License (MIT). Please see License File for more information.