webmayak/yii2-log-github

There is no license information available for the latest version (dev-master) of this package.

Maintainers

Package info

github.com/webmayak/yii2-log-github

Type:yii2-extension

pkg:composer/webmayak/yii2-log-github

Statistics

Installs: 140

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

dev-master 2018-02-26 17:10 UTC

This package is auto-updated.

Last update: 2026-02-17 21:49:07 UTC


README

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.

Install

composer require webmayak/yii2-log-github

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' => '...',
              ],
          ],
     ],
],