cirelramos / query-log
this package has utils to send console query generate in your project laravel
1.0.1
2022-04-09 02:46 UTC
Requires
- php: ^7.4|^8.0
- illuminate/config: ^7.20|^8.19|^9.0
- illuminate/contracts: ^7.20|^8.19|^9.0
- illuminate/database: ^7.20|^8.19|^9.0
- illuminate/http: ^7.20|^8.19|^9.0
This package is auto-updated.
Last update: 2024-11-09 09:01:30 UTC
README
About
The query-log
package to send query-log to console with extra info and catch query sql .
Installation
Require the cirelramos/query-log
package in your composer.json
and update your dependencies:
composer require cirelramos/query-log
Configuration
The defaults are set in config/query-log.php
. Publish the config to copy the file to your own config:
php artisan vendor:publish --provider="CirelRamos\QueryLog\Providers\ServiceProvider"
Note: this is necessary to you can change default config
Usage
add provider in config/app.php
'providers' => [ CirelRamos\QueryLog\Providers\QueryLogProvider::class, ]
License
Released under the MIT License, see LICENSE.