dinesh / bugonemail
Get Laravel Bug or Error instant notification by Emails
Installs: 63 262
Dependents: 0
Suggesters: 0
Security: 0
Stars: 34
Watchers: 3
Forks: 12
Open Issues: 4
Language:HTML
Requires
- php: >=5.4.0
- illuminate/support: 5.x
This package is not auto-updated.
Last update: 2020-08-16 20:31:15 UTC
README
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