Download the PHP package piedweb/render-html-attributes without Composer
On this page you can find all versions of the php package piedweb/render-html-attributes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download piedweb/render-html-attributes
More information about piedweb/render-html-attributes
Files in piedweb/render-html-attributes
Download piedweb/render-html-attributes
More information about piedweb/render-html-attributes
Files in piedweb/render-html-attributes
Vendor piedweb
Package render-html-attributes
Short Description [Twig Extension] Transform an array in html tag attributes.
License MIT
Homepage https://piedweb.com
Package render-html-attributes
Short Description [Twig Extension] Transform an array in html tag attributes.
License MIT
Homepage https://piedweb.com
Please rate this library. Is it a good library?
Informations about the package render-html-attributes
Twig Extension : Render html tag attributes
This package is an extension for both Twig and ~Plate engine Plates~.
Plates is not anymore supported since v1.0.3.
Two features for the same goal Manipulate html tag attributes via object/PHP array :
attr({class: "col", id: "piedweb", data-content:"Hello :)', ...})transform an array in html tag attributesmergeAttr($attributes1, $attributes2, [$attributes3, ...])merge multiple array without loosing values (Eg. :['class' => 'main']+['class' => 'content']=['class' => 'main content'])
Table of contents
- Twig Extension : Render html tag attributes
- Table of contents
- Usage
- Installation
- Requirements
- Contributors
- License
Usage
Load the extension in twig (eg for symfony) :
Then use it :
Installation
Requirements
Stand alone extension.
See composer.json file.
Contributors
- Original author Robin (PiedWeb from the Alps Mountain)
- ...
License
MIT (see the LICENSE file for details)
All versions of render-html-attributes with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.4
The package piedweb/render-html-attributes contains the following files
Loading the files please wait ...