docentbf/laravel-pachca-logger

Pachca logger for Laravel

Maintainers

Package info

github.com/DocentBF/laravel-pachca-logger

pkg:composer/docentbf/laravel-pachca-logger

Statistics

Installs: 248

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

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

This package is auto-updated.

Last update: 2026-02-28 20:17:24 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')
]