E-mail error notification Symfony2 bundle - only exception right now
Switch branches/tags
Nothing to show
Pull request Compare This branch is 2 commits ahead of szymek:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
DependencyInjection
Listener
Resources
Util
.gitignore
README.md
RoxWayErrorNotifyBundle.php
composer.json

README.md

README

Provides e-mail error notification for your Symfony2 Project (only exceptions right now).

Caution: This bundles is developed in sync with symfony's repository

Requirements

  • Twig
  • Swift Mailer

Installation

Add RoxWayErrorNotifyBundle to your deps

[RoxWayErrorNotifyBundle]
    git=https://github.com/szymek/RoxWayErrorNotifyBundle.git
    target=/bundles/RoxWay/Bundle/ErrorNotifyBundle

Add the RoxWay namespace to your autoloader

// app/autoload.php
$loader->registerNamespaces(array(
    'RoxWay' => __DIR__.'/../vendor/bundles',
    // your other namespaces
);

Add RoxWayErrorNotifyBundle to your application kernel

// app/AppKernel.php

public function registerBundles()
{
    return array(
        // ...
        new RoxWay\Bundle\ErrorNotifyBundle\RoxWayErrorNotifyBundle(),
        // ...
    );
}

Configure your project

// app/config.yml
rox_way_error_notify:
  is_enable: true
  to_mail: error_notify_to_mail@example.com
  from_mail: error_notify_from_mail@example.com