docentbf / laravel-pachca-logger
Pachca logger for Laravel
Installs: 248
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/docentbf/laravel-pachca-logger
Requires
- php: ^7.3
- ext-curl: *
- ext-json: *
- monolog/monolog: ^2.0
This package is auto-updated.
Last update: 2025-12-28 19:59:54 UTC
README
Laravel Monolog handler for https://pachca.com
Requirements
- php 7.3 and above
- Laravel 8
Install
composer require docentbf/laravel-pachca-logger
Usage
-
Add
LOG_PACHCA_WEBHOOKinto your.envfile. -
Add config to
channelssection in configuration fileconfig/logging.php:
'pachca' => [ 'driver' => 'custom', 'via' => \DocentBF\LaravelPachcaLogger\PachcaLogger::class, 'webhookUrl' => env('LOG_PACHCA_WEBHOOK'), 'level' => env('LOG_LEVEL', 'debug') ]