Skip to content

syzspectroom/ErrorNotifierBundle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elao Error Notifier Bundle

Installation

###Add the followings lines to your deps file

// deps

[ElaoErrorNotifierBundle]
    git=git://github.com/Elao/ErrorNotifierBundle.git
    target=bundles/Elao/ErrorNotifierBundle

Register autoloading

// app/autoload.php

$loader->registerNamespaces(array(
    ...
    'Elao' => __DIR__.'/../vendor/bundles',
));

Register the bundle

// app/AppKernel.php

public function registerBundles()
{
    return array(
        // ...
        new Elao\ErrorNotifierBundle\ElaoErrorNotifierBundle(),
        // ...
    );
}

Run the vendors script:

$ php bin/vendors install

#Configuration

Add in your config_prod.yml file, you don't need this lines when you are in dev environment.

elao_error_notifier:
    from: from@example.com
    to: to@example.com
    handle404: true

About

This bundle send you an email when an error appear (500 or 404 if enable)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%