ustal/stream-hub-symfony-bridge
最新稳定版本:v0.1.0
Composer 安装命令:
composer require ustal/stream-hub-symfony-bridge
包简介
Twig bridge for Stream Hub slot rendering
README 文档
README
Twig bridge package for the Stream Hub ecosystem.
Current Scope
The package currently provides two bridge primitives:
- the Twig function
render_slot(...) TwigViewRenderer, which implementsViewRendererInterfacefromstream-hub-core
render_slot(...) delegates slot rendering to SlotRendererInterface from stream-hub-core and marks the returned HTML as safe for Twig output.
Example:
{{ render_slot(slot, runtime, context) }}
TwigViewRenderer is the Twig-backed view engine that widgets use through the generic ViewRendererInterface.
This package currently focuses on Twig-level rendering helpers and template rendering primitives. Symfony bundle wiring and service registration belong in stream-hub-symfony-bundle.
Development
Install dependencies:
make install
Run tests:
make test
Run deptrac:
make deptrac
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-04-07