symfinity/ux-blocks

UX Blocks base SDK — registry schema and Symfinity UI markup helpers for Symfony UX Twig components

Maintainers

Package info

github.com/symfinity/ux-blocks

Type:symfony-bundle

pkg:composer/symfinity/ux-blocks

Statistics

Installs: 33

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0 2026-06-13 23:16 UTC

This package is auto-updated.

Last update: 2026-06-13 23:20:07 UTC


README

UX Blocks

Registry schema and shared test helpers for the Symfinity UX Blocks component family

PHP Version Symfony
CI
Release Downloads License

Note

Read-only mirror. See CONTRIBUTING.md.

Features

  • Registry schema — version 1.1, default prefix blocks, fragment id helpers
  • Tier role catalogs — canonical role lists for core, extended, interactive, live, marketing, ecommerce, and lab packages
  • PHPUnit assertionsChameleonMarkupAssertions for data-ui-role / data-ui-fragment DOM 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

Requirements

  • PHP 8.2 or higher
  • Symfony 7.4 or 8.x

Support

License

MIT