bugtower/bugtower-report
最新稳定版本:1.1
Composer 安装命令:
composer require bugtower/bugtower-report
包简介
BugTower Log saver
README 文档
README
Instant notifications for yours errors and exceptions on your Laravel php applications.
BugTower captures errors in real-time from your web and android applications, helping you to understand and resolve them as fast as possible.
How to Install
-
Install the
bugtower/bugtower-reportpackage$ composer require "bugtower/bugtower-report": "dev-master"
-
Update
config/app.php# Add `BugsnagLaravelServiceProvider` to the `providers` array 'providers' => array( ... 'BugTower\BugTowerLaravel\BugTowerLaravelServiceProvider', ) # And in aliases add following 'aliases' => array( ... 'BugTower' => 'BugTower\BugTowerLaravel\BugTowerFacade', )
-
Change exception handler in
App/Exceptions/Handler.php.# COMMENT this line use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
# ADD this line instead use BugTower\BugTowerLaravel\BugTowerExceptionHandler as ExceptionHandler;
After this change, your file should look like this:
<?php namespace App\Exceptions; use Exception; // use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; use BugTower\BugTowerLaravel\BugTowerExceptionHandler as ExceptionHandler; class Handler extends ExceptionHandler { ... }
Configuration
-
Open file
config/services.php -
Add array
api_key:... 'bugtower' => [ 'key' => 'YOUR-API-KEY-HERE', 'endpoint' => 'http://bugtower.net/api/send', ] ...
After this change, your file should look like this:
<?php return [ 'mailgun' => [ 'domain' => '', 'secret' => '', ], 'mandrill' => [ 'secret' => '', ], 'ses' => [ 'key' => '', 'secret' => '', 'region' => 'us-east-1', ], 'stripe' => [ 'model' => 'App\User', 'secret' => '', ], 'bugtower' => [ 'key' => 'YOUR-API-KEY-HERE', 'endpoint' => 'http://bugtower.net/api/send', ] ];
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-06