###Add the followings lines to your deps
file
// deps
[ElaoErrorNotifierBundle]
git=git://github.com/Elao/ErrorNotifierBundle.git
target=bundles/Elao/ErrorNotifierBundle
// app/autoload.php
$loader->registerNamespaces(array(
...
'Elao' => __DIR__.'/../vendor/bundles',
));
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Elao\ErrorNotifierBundle\ElaoErrorNotifierBundle(),
// ...
);
}
$ 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: [email protected]
to: [email protected]
handle404: true