Skip to content

trocafone/bugonemail

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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"
}

NOTICE: For Laravel 4.x use

  • 1.x Releases
  • 4.x Branch

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

Packages

No packages published

Languages

  • HTML 79.1%
  • PHP 20.9%