Package Data | |
---|---|
Maintainer Username: | behnamhoseyni |
Maintainer Contact: | behnamtakta71@gmail.com (behnamhosseini) |
Package Create Date: | 2021-07-27 |
Package Last Update: | 2022-05-22 |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2024-11-23 03:02:47 |
Package Statistics | |
---|---|
Total Downloads: | 26 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 2 |
Total Forks: | 1 |
Total Open Issues: | 0 |
Convert Laravel logs to json
You can install the package via composer:
composer require behnamhosseini/log-to-json
You may also publish config file:
php artisan vendor:publish --provider=Behnamhosseini\LogToJson\Providers\LogServiceProvider
All you have to do is change a line of code in (app\Exceptions\Handler.php
) and then you can implement the settings from the configuration file you published (config / logToJson).
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
to
use Behnamhosseini\LogToJson\Handler as ExceptionHandler;