alphadeltas / logger
description
Requires
- illuminate/support: ^5|^6|^7|^8
Requires (Dev)
- mockery/mockery: ^1
- orchestra/testbench: ^3.0|^4.0|^5.0|^6.0
- phpunit/phpunit: ^7|^8|^9
- sempro/phpunit-pretty-print: ^1.0
- timacdonald/log-fake: ^1.0
This package is auto-updated.
Last update: 2025-03-07 21:59:28 UTC
README
This is where your description should go. Take a look at contributing.md to see a to do list.
Installation
Via Composer
$ composer require alphadeltas/logger
Usage
You may use LogMiddleware to log any request to your endpoints you just need to enable it in your routes.
You also may use LoggerServiceProvider to log jobs and commands. You need to enable it in your config/app.php file (hopefully this will be added by composer automatically). Add this line to providers array:
'providers' => [ ..., AlphaDeltas\Logger\Providers\LoggerServiceProvider::class, ... ],
You can also publish config with the following command:
php artisan vendor:publish --provider="AlphaDeltas\Logger\Providers\LoggerServiceProvider" --tag=config
Change log
Please see the changelog for more information on what has changed recently.
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email bohdanklochko1@gmail.com instead of using the issue tracker.
Credits
License
license. Please see the license file for more information.