nelmio / esi-debug-bundle
该包已被废弃,不再维护。未建议替代包。
显示 ESI 请求周围的缓存信息,用于调试目的
1.1.0
2013-05-29 08:57 UTC
Requires
- symfony/framework-bundle: ~2.0
This package is auto-updated.
Last update: 2024-06-26 11:52:39 UTC
README
关于
NelmioEsiDebugBundle 显示 ESI 请求周围的缓存信息,用于调试目的。
特性
- ESI 请求的视觉包装
- Web Debug 工具栏中的链接以隐藏包装 div
截图
配置
如果您想在不禁用捆绑包的情况下禁用包装 div,您可以通过配置来实现
nelmio_esi_debug:
enabled: false
安装(Symfony 2.1+)
在 composer.json 中要求安装 nelmio/esi-debug-bundle
包,并更新您的依赖项。
$ composer require nelmio/esi-debug-bundle
将 NelmioEsiDebugBundle 添加到您的应用程序内核中
public function registerBundles()
{
$bundles = array(
...
new Nelmio\EsiDebugBundle\NelmioEsiDebugBundle(),
...
);
...
}
许可
在 MIT 许可证下发布,请参阅 LICENSE。