nelmio/esi-debug-bundle

该包已被废弃,不再维护。未建议替代包。

显示 ESI 请求周围的缓存信息,用于调试目的

安装数: 81,713

依赖者: 0

建议者: 0

安全: 0

星标: 43

关注者: 9

分支: 8

开放问题: 0

类型:symfony-bundle

1.1.0 2013-05-29 08:57 UTC

This package is auto-updated.

Last update: 2024-06-26 11:52:39 UTC


README

关于

NelmioEsiDebugBundle 显示 ESI 请求周围的缓存信息,用于调试目的。

特性

  • ESI 请求的视觉包装
  • Web Debug 工具栏中的链接以隐藏包装 div

截图

68747470733a2f2f7261772e6769746875622e636f6d2f6e656c6d696f2f4e656c6d696f457369446562756742756e646c652f6d61737465722f5265736f75726365732f646f632f696d672e706e67

配置

如果您想在不禁用捆绑包的情况下禁用包装 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。