dev-master
9999999-dev http://laboratorium.eeEasy to use javascript errors catcher for Symfony 2.x
MIT
The Requires
- php >=5.3.2
- symfony/framework-bundle >=2.0
The Development Requires
javascript exception catcher
Wallogit.com
2017 © Pedro PelĂĄez
Easy to use javascript errors catcher for Symfony 2.x
Bundle catches javascript errors and saves them in server logs, (*1)
Work in progress, not ready for production usage, (*2)
Download EEExceptionJSBundle using composer, (*3)
Add EEExceptionJSBundle in your composer.json:, (*4)
{
"require": {
"ee/exceptionjs-bundle": "dev-master"
}
}
Tell composer to download the bundle by running the command:, (*5)
$ php composer.phar update ee/exceptionjs-bundle
Composer will install the bundle to your project's vendor/ee directory., (*6)
``` php <?php // app/AppKernel.php, (*7)
public function registerBundles() { $bundles = array( // ... new EE\ExceptionJSBundle\EEExceptionJSBundle(), ); }, (*8)
Add at the beginning of app/config/routing.yml ``` yml ee_exceptionjs_bundle: resource: "@EEExceptionJSBundle/Resources/config/routing.yml" prefix: /
In your base layout, as a first script on page, include once, (*9)
``` twig, (*10)
{% include 'EEExceptionJSBundle::catcher.html.twig' %}
```, (*11)
Easy to use javascript errors catcher for Symfony 2.x
MIT
javascript exception catcher