dinesh/bugonemail

Get Laravel Bug or Error instant notification by Emails

Installs: 7 190

Dependents: 1

Stars: 28

Watchers: 4

Forks: 2

Open Issues: 2

Language: PHP

V2.1 2015-08-18 04:05 UTC

README

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