2017 © Pedro Peláez
 

yii2-extension yii2-log-github

image

webmayak/yii2-log-github

  • Monday, February 26, 2018
  • by webmayak
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 17 % Grown

The README.md

yii2-log-github

Provides GithubTarget component for Yii2 logging system. Creates issues from application exceptions. You should specify your GitHub repository name, owner name and your PAT (personal access token) with repo permissions enabled., (*1)

Install

composer require webmayak/yii2-log-github, (*2)

Usage

'components' => [
     'log' => [
          'targets' => [
              'github' => [
                  'class' => 'webmayak\yii2LogGithub\GithubTarget',
                  'enabled' => true,
                  'except' => ['yii\web\HttpException:404', 'yii\web\HttpException:403'],
                  'levels' => ['error', 'warning'],
                  'accessToken' => '...',
                  'owner' => '...',
                  'repository' => '...',
              ],
          ],
     ],
],

The Versions

26/02 2018

dev-master

9999999-dev

  Sources   Download

The Requires

 

by Avatar webmayak