czim / laravel-json-context-logging
There is no license information available for the latest version (3.0.0) of this package.
JSON Context logging for Laravel
Package info
github.com/czim/laravel-json-context-logging
pkg:composer/czim/laravel-json-context-logging
3.0.0
2023-04-07 13:51 UTC
Requires
- php: ^8.0
- czim/monolog-json-context: ^1.0
Requires (Dev)
- mockery/mockery: ^1.5
- orchestra/testbench: ^8
- phpunit/phpunit: ^10.0
README
JSON Context Logging for Laravel
Wrapper package to make use of czim/monolog-json-context in Laravel applications.
The aim of this package is to easily set up (separate) logging to be easily grokkable by Logstash.
Version Compatibility
| Laravel | Package |
|---|---|
| 5.8 and below | 0.9 |
| 6.0 and up | 1.0 |
| 9.0 | 2.0 |
| 10.0 | 3.0 |
Changelog
Installation
Via Composer:
$ composer require czim/laravel-json-context-logging
Publish the configuration file:
php artisan vendor:publish --provider="Czim\LaravelJsonContextLogging\Providers\JsonContextLoggingServiceProvider"
Credits
License
The MIT License (MIT). Please see License File for more information.