承接 desarrolla2/mail-exception-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

desarrolla2/mail-exception-bundle

最新稳定版本:0.6.9

Composer 安装命令:

composer require desarrolla2/mail-exception-bundle

包简介

Symfony bundle for reporting exceptions to an email

README 文档

README

Email you when Symfony2 Exceptions occurs with some information.

Name Badge Name Badge
Build Build Status Latest Stable Latest Stable Version
Quality Score Scrutinizer Quality Score Latest Unstable Latest Unstable Version
Code Coverage Code Coverage Total Downloads Total Downloads
Insight SensioLabsInsight License License
Dependencies Dependency Status

Installation

Download the Bundle.

composer require "desarrolla2/mail-exception-bundle"

Enable the Bundle

// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new  Desarrolla2\Bundle\MailExceptionBundle\MailExceptionBundle(),
        );

        // ...
    }

    // ...
}

Usage

You need put something like this in your config.yml

mail_exception:
    from: 'your@email.com'
    to: 'your@email.com'
    subject: 'An error has ocurred'
    avoid:
        environments: #this environments will be ignored
        
            - 'dev'
            - 'test'
            
        exceptions: #this exceptions will be ignored
        
            - 'Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException'
            - 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException'
            

Example

When a exception occurs you will receive in your mail inbox something like this.

screenshot

Contact

You can contact with me on @desarrolla2.

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-11-06