New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

webkid/bugreporter

A php class for Laravel to send bug reports with data
269 1
Install
composer require webkid/bugreporter
Latest Version:1.3
PHP:>=5.5.9
Laravel:5
License:MIT
Last Updated:Jul 3, 2017
Links: GitHub  ·  Packagist
Maintainer: _webkid

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=

Related Packages

coliving/reportable

Reportable polymorphic Eloquent models for Laravel 8 through 13

30,374 1
ghanem/reportable

Reportable Polymorphic Eloquent Models for Laravel 6, 7, 8, 9, 10, 11 & 12

7,584 33
mblsolutions/report

Laravel Report package

11,647 7
sigeturbo/report

SigeTurbo Report

191 1
zappem/zappem-laravel

Connect your Laravel application to Zappem

116 0

Version History

Version Released PHP Laravel License
1.3 >=5.5.9 5.* MIT
1.2 >=5.5.9 5.* MIT
1.1 >=5.5.9 5.1.* MIT