dinesh/bugonemail 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dinesh/bugonemail

最新稳定版本:V2.1

Composer 安装命令:

composer require dinesh/bugonemail

包简介

Get Laravel Bug or Error instant notification by Emails

README 文档

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

统计信息

  • 总下载量: 63.35k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 36
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 34
  • Watchers: 3
  • Forks: 12
  • 开发语言: HTML

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-02-26