Download the PHP package ropendev/platesattributes without Composer
On this page you can find all versions of the php package ropendev/platesattributes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ropendev/platesattributes
More information about ropendev/platesattributes
Files in ropendev/platesattributes
Download ropendev/platesattributes
More information about ropendev/platesattributes
Files in ropendev/platesattributes
Vendor ropendev
Package platesattributes
Short Description [Plates Extension] Transform an array in html tag attributes.
License MIT
Homepage https://github.com/RobinDev/platesAttributes
Package platesattributes
Short Description [Plates Extension] Transform an array in html tag attributes.
License MIT
Homepage https://github.com/RobinDev/platesAttributes
Please rate this library. Is it a good library?
Informations about the package platesattributes
This package is not maintened anymore (but still works) : Use https://github.com/PiedWeb/RenderHtmlAttribute
Plates Extension : Render html tag attributes
This package is an extension for the template engine Plates.
Two features for the same goal Manipulate html tag attributes via PHP array :
$this->attr(array $attributes)
transform an array in html tag attributes$this->mergeAttr(array $arr1, array $arr2, [array $arr3, ...])
merge multiple array without loosing values (Eg. :['class' => 'main']
+['class' => 'content']
=['class' => 'main content']
)
Table of contents
- Usage
- Installation
- Requirements
- Contributors
- Licence
Usage
In your app/views/test.php
template file:
Will render:
Installation
Requirements
Stand alone extension.
See composer.json
file.
Contributing
See CONTRIBUTING.md
file.
Contributors
- Original author Robin (UX Design)
- ...
License
MIT (see the LICENSE file for details)
All versions of platesattributes with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package ropendev/platesattributes contains the following files
Loading the files please wait ....