runroom-packages/render-event-bundle

在渲染模板之前添加渲染事件

安装次数: 58,947

依赖关系: 2

建议者: 0

安全: 0

星星数: 2

关注者: 7

分支: 0

类型:symfony-bundle

0.19.1 2024-09-06 13:39 UTC

README

Latest Stable Version Latest Unstable Version License

Total Downloads Monthly Downloads Daily Downloads

此包包装了twig渲染,允许使用事件调度器修改传递给它的参数。

安装

打开命令行,进入您的项目目录,然后执行以下命令以下载此包的最新稳定版本

composer require runroom-packages/render-event-bundle

启用Bundle

然后,通过将其添加到项目中的注册包列表中,在config/bundles.php文件中启用包

// config/bundles.php

return [
    // ...
    Runroom\RenderEventBundle\RunroomRenderEventBundle::class => ['all' => true],
];

贡献

此包的源代码包含在Runroom monorepo中。我们欢迎在runroom/runroom-packages上为此包做出贡献。

许可证

此包采用MIT许可证