webmayak / yii2-log-github
Installs: 49
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
This package is auto-updated.
Last update: 2025-02-17 19:40:03 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' => '...', ], ], ], ],