tabjen99/lara-track
Composer 安装命令:
composer require tabjen99/lara-track
包简介
This package helps to create cards in trello board when system exception found.
README 文档
README
LaraTrack brings you convinience to automatically create Trello card when system hitted exceptions.
Getting Started
These instructions will get you a laravel packages.Everything is simple & easy !
Dependency
- gregoriohc/laravel-trello
Prerequisites
You must need to have a trello account, please prepare a board,and a List for laraTrack to insert cards. Able to access trello account and generate Access Token for API integration.
[Example]
Installation
- Login to Trello via browser.
- Get Access token via this link - *(https://trello.com/app-key/)
- Get 2 items from authentication page.: Key & Token p/s : Token is not auto generated. you have to grant permissions to generate token. https://trello.com/1/authorize?expiration=never&scope=read,write,account&response_type=token&name=Server%20Token&key=[YOUR KEY HERE]
- Let's begin our laravel plugin installation :
composer require tabjen99/lara-track
- Publish Trello Config :
php artisan vendor:publish --provider="Gregoriohc\LaravelTrello\TrelloServiceProvider"
- Configure Provider & Alias in Config/app.php
Provider
'providers' => [
...
Gregoriohc\LaravelTrello\TrelloServiceProvider::class,
miketan\laraTrack\laraTrackServiceProvider::class,
],
Alias
'aliases' => [
...
'Trello' => Gregoriohc\LaravelTrello\Facades\Wrapper::class,
'TrelloCrashReport' =>miketan\laraTrack\CrashReportFacade::class,
],
- In config/trello.php enter api_key, api_token, board, & list
- Publish migration file & perform migration.
php artisan vendor:publish --tag=migrations
php artisan migrate
- Clear Cache & log config:
php artisan config:cache
Usage
- Replace function report(Exception $e) in app/exceptions/Handler.php to :
public function report(Exception $e)
{
\TrelloCrashReport::CountOrCreate($e);
return parent::report($e);
}
Complete
If you completed steps above , laraTrack is successfully configured and running
-- -- Happy Tracking -- --
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2019-03-29