Skip to content

javiereguiluz/ux-twig-component

 
 

Repository files navigation

Twig Components

EXPERIMENTAL This component is currently experimental and is likely to change, or even change drastically.

Twig components give you the power to bind an object to a template, making it easier to render and re-use small template "units" - like an "alert", markup for a modal, or a category sidebar. A very simple example would be a re-usable alert component:

Example of the AlertComponent

This repository is a READ-ONLY sub-tree split. See https://github.com/symfony/ux to create issues or submit pull requests.

Resources

About

Create reusable Twig components by combining a template + PHP class.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 98.3%
  • Twig 1.7%