dinesh/bugonemail
最新稳定版本:V2.1
Composer 安装命令:
composer require dinesh/bugonemail
包简介
Get Laravel Bug or Error instant notification by Emails
关键字:
README 文档
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
统计信息
- 总下载量: 63.35k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 36
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-02-26
