Note
Read-only mirror. See CONTRIBUTING.md.
- Native HTTP intents —
navigate,submit,delete,downloadbacked enum - Markup validation —
NativeActionRuleschecks tag, attributes, and form context without parsing HTML - Stable violation codes — machine-readable failures for PHPUnit and CI
- Zero Symfony runtime — pure PHP library; optional autowire in Symfony apps
- UX Blocks test hook — component packages assert DOM semantics in dev/test
composer require symfinity/ui-actionSee Installation for requirements and a smoke test.
use Symfinity\UiAction\ActionIntent;
use Symfinity\UiAction\ActionMarkupContext;
use Symfinity\UiAction\NativeActionRules;
$rules = new NativeActionRules();
$result = $rules->validate(
ActionIntent::Navigate,
new ActionMarkupContext('a', ['href' => '/dashboard']),
);See Quick start for submit, delete, download examples and violation handling.
- Quick start — validate intents in minutes
- Installation — Composer install and smoke test
- Configuration — programmatic use and Symfony wiring
- Native action semantics — HTML shape per intent
- Validation API — types and violation codes
- UX Blocks integration — PHPUnit in component packages
- Upgrade — first release notes
- PHP 8.2 or higher