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

v1.0.0 2023-03-28 13:41 UTC

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_WEBHOOK into your .env file.

  • Add config to channels section in configuration file config/logging.php:

'pachca' => [
    'driver'     => 'custom',
    'via'        => \DocentBF\LaravelPachcaLogger\PachcaLogger::class,
    'webhookUrl' => env('LOG_PACHCA_WEBHOOK'),
    'level'      => env('LOG_LEVEL', 'debug')
]