2017 © Pedro Peláez
 

library telegram-reporter

Simple telegram exceptions reporter

image

frameworkteamru/telegram-reporter

Simple telegram exceptions reporter

  • Friday, February 17, 2017
  • by GlebIvanov
  • Repository
  • 0 Watchers
  • 0 Stars
  • 202 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

Exception Collector

Simple decorator for default ExceptionHandler script, which provides ability to track exceptions in your projects., (*1)

Installation

Package is available via composer. composer require frameworkteamru/telegram-reporter:dev-master, (*2)

Configuration

  1. Add Frameworkteam\TelegramReporter\TelegramReporterServiceProvider::class to your providers section in config/app.php, (*3)

  2. Publish vendor files. php artisan vendor:publish --provider="Frameworkteam\TelegramReporter\TelegramReporterServiceProvider", (*4)

  3. Edit config/telegram-report.php, (*5)

  4. Run migrations by php artisan:migrate, (*6)

Additional Information

  1. You can authorize access to routes provided by package, (*7)

    1. Uncomment ExceptionsMiddleware::class in config/telegram-report.php.
    2. Implement ExceptionsWatcher interface at least in one of your "User" model.
    3. If you dont like that implementation of authorization, you can put your own middleware into stack in config/telegram-report.php
  2. Api routes are also provided by this package, so AJAX requests can be handled too, (*8)

  3. To send report in telegram chats, package uses queues, dont forget to set them up, (*9)

The Versions

17/02 2017

dev-master

9999999-dev

Simple telegram exceptions reporter

  Sources   Download

The Requires

 

by Gleb