Skip to content
This repository was archived by the owner on May 17, 2020. It is now read-only.
dineshrabaraPublic archive

Latest commit

 

History

40 Commits

Folders and files

Repository files navigation

Installation

Latest Stable Version Total Downloads Latest Unstable Version License Build Status

Begin by installing this package through Composer. Edit your project's composer.json file to require dinesh/bugonemail.

"require": {
	"laravel/framework": "5.*",
	"dinesh/bugonemail": "5.*@dev"
}

Next, update Composer from the Terminal:

composer update

Once this operation completes, the next step is to add the service provider. Open app/config/app.php, and add a new item to the providers array.

'Dinesh\Bugonemail\BugonemailServiceProvider'

Next, you need to publish it's config file(s).

php artisan config:publish dinesh/bugonemail 

Now change Config file.

    return array(
        'project_name' => '? ',
        'notify_emails' => array('your-email@gmail.com'),
        'email_template' => "bugonemail::email.notifyException",
        'notify_environment' => array('local','production'),
        'prevent_exception' => array('Symfony\Component\HttpKernel\Exception\NotFoundHttpException'),
    );

Manually Call

BugeException::notifyException($exception)

Manually set environment

BugeException::setEnvironment("local")

Email like

whoops there was an error

Releases

Packages

Used by

Contributors

Languages