Skip to content

E-mail error notification Symfony2 bundle - only exception right now

Notifications You must be signed in to change notification settings

ambry/RoxWayErrorNotifyBundle

 
 

Repository files navigation

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: [email protected]
  from_mail: [email protected]

About

E-mail error notification Symfony2 bundle - only exception right now

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%