ee/exceptionjs-bundle
Composer 安装命令:
composer require ee/exceptionjs-bundle
包简介
Easy to use javascript errors catcher for Symfony 2.x
README 文档
README
Bundle catches javascript errors and saves them in server logs
Work in progress, not ready for production usage
Installation
Download EEExceptionJSBundle using composer
Add EEExceptionJSBundle in your composer.json:
{
"require": {
"ee/exceptionjs-bundle": "dev-master"
}
}
Tell composer to download the bundle by running the command:
$ php composer.phar update ee/exceptionjs-bundle
Composer will install the bundle to your project's vendor/ee directory.
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new EE\ExceptionJSBundle\EEExceptionJSBundle(), ); }
Add at the beginning of app/config/routing.yml
ee_exceptionjs_bundle: resource: "@EEExceptionJSBundle/Resources/config/routing.yml" prefix: /
In your base layout, as a first script on page, include once
{% include 'EEExceptionJSBundle::catcher.html.twig' %}
统计信息
- 总下载量: 32
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-01-07