定制 tabjen99/lara-track 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

  1. Login to Trello via browser.
  2. Get Access token via this link - *(https://trello.com/app-key/)
  3. 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]
  4. Let's begin our laravel plugin installation :
composer require tabjen99/lara-track
  1. Publish Trello Config :
php artisan vendor:publish --provider="Gregoriohc\LaravelTrello\TrelloServiceProvider"
  1. 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,
],

  1. In config/trello.php enter api_key, api_token, board, & list
  2. Publish migration file & perform migration.
php artisan vendor:publish --tag=migrations 
php artisan migrate
  1. Clear Cache & log config:
php artisan config:cache

Usage

  1. 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
  • 点击次数: 7
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2019-03-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固