overfirmament / over-util
A Laravel Util Package
Installs: 41
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/overfirmament/over-util
Requires
- php: ^8.2
- laravel/framework: ~12.0
- monolog/monolog: ^3.4
- php-amqplib/php-amqplib: ^3.7
- saloonphp/laravel-plugin: ^3.6
- saloonphp/saloon: ^3.14
- spatie/laravel-data: ^4.18
README
个人使用的工具包
安装本包后,请在 config/logging.php 文件中加入两项日志 channels:
'http_out' => [ 'driver' => 'daily', 'path' => storage_path('logs/http/out_info.log'), 'level' => env('LOG_LEVEL', 'debug'), 'days' => 14, 'formatter' => Overfirmament\OverUtils\Logger\LogFormatter::class ], "http_in" => [ 'driver' => 'daily', 'path' => storage_path('logs/http/in_info.log'), 'level' => env('LOG_LEVEL', 'debug'), 'days' => 14, 'formatter' => Overfirmament\OverUtils\Logger\LogFormatter::class ],