live-component

Community

Reactive server-rendered UIs with PHP and Twig.

Authorsmnandre
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Symfony UX LiveComponent provides a way to build interactive, server-rendered components in PHP and Twig, enabling real-time UI updates without writing client-side JavaScript.

Core Features & Use Cases

  • Server-rendered reactivity: components re-render via AJAX as users interact with the UI.
  • Rich prop/action model: supports LiveProp, LiveAction, data-model bindings, forms, and component communication.
  • Real-world scenarios include live search, dynamic forms, modal dialogs, and live lists that morph as data changes.

Quick Start

Define a class annotated with AsLiveComponent, declare LiveProp and LiveAction properties, and render the root element with {{ attributes }} to enable reactivity.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: live-component
Download link: https://github.com/smnandre/symfony-ux-skills/archive/main.zip#live-component

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.