LaravelPackages.net
Acme Inc.
Toggle sidebar
webkid/bugreporter

A php class for Laravel to send bug reports with data

269
1
1.3
About webkid/bugreporter

webkid/bugreporter is a Laravel package for a php class for laravel to send bug reports with data. It currently has 1 GitHub stars and 269 downloads on Packagist (latest version 1.3). Install it with composer require webkid/bugreporter. Discover more Laravel packages by webkid or browse all Laravel packages to compare alternatives.

Last updated

Installation (Laravel 5.x)

Run:

composer require webkid/bugreporter

Add the service provider to config/app.php under providers:

'providers' => [
    Webkid\BugReporter\BugReporterServiceProvider::class,
]

Publish Config

php artisan vendor:publish --provider="Webkid\BugReporter\BugReporterServiceProvider"

Update config file:

config/bugreports.php

Update app/Exceptions/Handler.php file:

public function report(Exception $e)
{
	//fire bug report here
	$bugReport = new Reporter();
	$bugReport->sendReport($e);
	//old code
	return parent::report($e);
}

Also provide environment variables:

UKIE_REPORTS_ENABLE=true
UKIE_REPORTS_URL=
UKIE_REPORTS_TOKEN=

Star History Chart