bugtower / bugtower-report
BugTower Log saver
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/bugtower/bugtower-report
Requires
- php: >=5.3.0
- ext-curl: *
This package is not auto-updated.
Last update: 2025-12-20 23:20:28 UTC
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', ] ];