PHPackages                             symfinity/ux-blocks - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. symfinity/ux-blocks

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

symfinity/ux-blocks
===================

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

v0.1.0(today)001MITPHPPHP &gt;=8.2

Since Jun 14Pushed todayCompare

[ Source](https://github.com/symfinity/ux-blocks)[ Packagist](https://packagist.org/packages/symfinity/ux-blocks)[ Docs](https://github.com/symfinity/ux-blocks)[ RSS](/packages/symfinity-ux-blocks/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (8)Versions (2)Used By (1)

UX Blocks
=========

[](#ux-blocks)

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

[](#registry-schema-and-shared-test-helpers-for-the-symfinity-ux-blocks-component-family)

[![PHP Version](https://camo.githubusercontent.com/fe60a3918bae3bc2ed56c6c5329ac0cb7462196b3061d0afb91fc4a241fe4172/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322b2d3737374242343f7374796c653d666c6174266c6f676f3d706870266c6f676f436f6c6f723d7768697465)](composer.json)[![Symfony](https://camo.githubusercontent.com/0b9a123c2224a4e7dbbb624492f493b4fbb810e2060e7ddbec9346b13a65ac24/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d372e342b2d3334333433343f7374796c653d666c6174266c6f676f3d73796d666f6e79266c6f676f436f6c6f723d7768697465)](composer.json)
[![CI](https://github.com/symfinity/ux-blocks/actions/workflows/ci.yml/badge.svg)](https://github.com/symfinity/ux-blocks/actions/workflows/ci.yml)
[![Release](https://camo.githubusercontent.com/b7f437561d9b0dbbef10c5369f4ad076b970ea791d5c69d2d6c3addd721223fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73796d66696e6974792f75782d626c6f636b732e7376673f7374796c653d666c6174266c6f676f3d7061636b6167697374266c6f676f436f6c6f723d7768697465)](https://packagist.org/packages/symfinity/ux-blocks)[![Downloads](https://camo.githubusercontent.com/1e20dabf53c1128ded3fef156b18a0e5a0b253252861bb754020997292642ccc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73796d66696e6974792f75782d626c6f636b732e7376673f7374796c653d666c6174266c6f676f3d7061636b6167697374266c6f676f436f6c6f723d7768697465)](https://packagist.org/packages/symfinity/ux-blocks)[![License](https://camo.githubusercontent.com/f48f8d6cf609f5b181b9c3218a85175fe8a5809c7ea400347f39697a5d55065d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c6174)](LICENSE)

Note

**Read-only mirror.** See [CONTRIBUTING.md](CONTRIBUTING.md).

Features
--------

[](#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 assertions** — `ChameleonMarkupAssertions` 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
-------------

[](#prerequisites)

Add the [symfinity/recipes](https://github.com/symfinity/recipes) Flex endpoint to your project's `composer.json` (see [recipes README](https://github.com/symfinity/recipes/blob/main/README.md)) — recipes are not in Symfony's official recipe repository yet.

Installation
------------

[](#installation)

```
composer require symfinity/ux-blocks
```

Usually installed as a dependency of a tier package. See [Installation](docs/installation.md).

Quick Start
-----------

[](#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](docs/quickstart.md) for PHPUnit markup assertions and tier pairing.

Documentation
-------------

[](#documentation)

- **[Quick start](docs/quickstart.md)** — registry helpers and test trait
- **[Installation](docs/installation.md)** — Flex and manual setup
- **[Configuration](docs/configuration.md)** — no app YAML required
- **[Registry](docs/registry.md)** — schema, catalogs, markup contract
- **[Components](docs/components.md)** — tier packages and styling
- **[Upgrade](docs/upgrade.md)** — first release notes

Requirements
------------

[](#requirements)

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

Support
-------

[](#support)

- [GitHub Issues](https://github.com/symfinity/ux-blocks/issues)
- [Security](.github/SECURITY.md)
- [Contributing](CONTRIBUTING.md)

License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

0d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/246582257?v=4)[Symfinity](/maintainers/symfinity)[@symfinity](https://github.com/symfinity)

---

Tags

design-systemregistrysymfonysymfony-bundletwig-componentssymfonySymfony Bundleregistrydesign-systemtwig-componentsux-blocks

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/symfinity-ux-blocks/health.svg)

```
[![Health](https://phpackages.com/badges/symfinity-ux-blocks/health.svg)](https://phpackages.com/packages/symfinity-ux-blocks)
```

###  Alternatives

[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1715.6k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
