symfinity/ux-blocks
Composer 安装命令:
composer require symfinity/ux-blocks
包简介
UX Blocks base SDK — registry schema and Symfinity UI markup helpers for Symfony UX Twig components
README 文档
README
UX Blocks
Registry schema and shared test helpers for the Symfinity UX Blocks component family
Note
Read-only mirror. See CONTRIBUTING.md.
Features
- Registry schema — version
1.1, default prefixblocks, fragment id helpers - Tier role catalogs — canonical role lists for core, extended, interactive, live, marketing, ecommerce, and lab packages
- PHPUnit assertions —
ChameleonMarkupAssertionsfordata-ui-role/data-ui-fragmentDOM checks - Slim SDK boundary — no Twig components here; tiers ship in
symfinity/ux-blocks-*packages - Symfony Flex recipe — bundle registered for all environments
Prerequisites
Add the symfinity/recipes Flex endpoint to your project's composer.json (see recipes README) — recipes are not in Symfony's official recipe repository yet.
Installation
composer require symfinity/ux-blocks
Usually installed as a dependency of a tier package. See Installation.
Quick Start
use Symfinity\UxBlocks\Registry\CoreRoleCatalog; use Symfinity\UxBlocks\Registry\RegistrySchema; $fragment = RegistrySchema::fragmentId('button'); // blocks.button $roles = CoreRoleCatalog::roles();
composer require symfinity/ux-blocks-core
See Quick start for PHPUnit markup assertions and tier pairing.
Documentation
- Quick start — registry helpers and test trait
- Installation — Flex and manual setup
- Configuration — no app YAML required
- Registry — schema, catalogs, markup contract
- Components — tier packages and styling
- Upgrade — first release notes
Requirements
- PHP 8.2 or higher
- Symfony 7.4 or 8.x
Support
License
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-13