Looking to hire Laravel developers? Try LaraJobs

laravel-pachca-logger maintained by docentbf

Description
Pachca logger for Laravel
Author
Last update
2023/03/28 15:41 (dev-master)
License
Links
Downloads
248

Comments
comments powered by Disqus

Pachca logger for Laravel 8

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')
]