litermi-packages / logs
package to log routines and sql query
1.0.31
2026-06-03 20:09 UTC
Requires
- php: ^7.4|^8.0
- guzzlehttp/guzzle: ^7.2
- illuminate/config: ^7.20|^8.19|^9.0|^10.0|^11.0
- illuminate/contracts: ^7.20|^8.19|^9.0|^10.0|^11.0
- illuminate/database: ^7.20|^8.19|^9.0|^10.0|^11.0
- illuminate/http: ^7.20|^8.19|^9.0|^10.0|^11.0
README
About
The logs package to send logs to console with extra info and catch query sql .
Tutorial how create composer package
Installation
Require the litermi-packages/logs package in your composer.json and update your dependencies:
composer require litermi-packages/logs
Configuration
set provider
'providers' => [ // ... Litermi\Logs\Providers\ServiceProvider::class, ],
The defaults are set in config/logs.php. Publish the config to copy the file to your own config:
php artisan vendor:publish --provider="Litermi\Logs\Providers\ServiceProvider"
Note: this is necessary to you can change default config
Usage
add provider in config/app.php
'providers' => [ Litermi\Logs\Providers\QueryLogProvider::class, ]
$extraValues['test'] = 1; LogConsoleFacade::full()->tracker()->log('your message', $extraValues);
License
Released under the MIT License, see LICENSE.