ui-awesome / html-concern
UI Awesome HTML Concern Code Generator for PHP.
Installs: 3 567
Dependents: 5
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.1
- ui-awesome/html-helper: ^0.2
- ui-awesome/html-interop: ^0.1
- voku/anti-xss: ^4.1
Requires (Dev)
- maglnet/composer-require-checker: ^4.7
- phpunit/phpunit: ^10.5
- roave/infection-static-analysis-plugin: ^1.34
- symplify/easy-coding-standard: ^12.1
- vimeo/psalm: ^5.20
This package is auto-updated.
Last update: 2024-10-30 18:54:45 UTC
README
UI Awesome HTML Concern Code Generator for PHP.
Installation
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist ui-awesome/html-concern:^0.2
or add
"ui-awesome/html-concern": "^0.2"
to the require section of your composer.json
file.
Usage
List of traits avaibles to use in your classes:
- HasAttributes
- HasContaineCollection
Methods available:
containerAttributes()
,containerClass()
,containerTag()
. - HasContent
- HasLabelCollection
Methods available:
disabledLabel
,label
,labelAttributes()
,labelClass()
,labelFor()
. - HasPrefixCollection
Methods available:
prefix()
,prefixAttributes()
,prefixClass()
,prefixTag()
. - HasSeparator
- HasSuffixCollection
Methods available:
suffix()
,suffixAttributes()
,suffixClass()
,suffixTag()
. - HasTag
- HasTagName
- HasTemplate
- HasUncheckedCollection
Methods available:
uncheckedAttributes()
,uncheckedClass()
,uncheckedValue()
.
Testing
Check the documentation testing to learn about testing.
Support versions
License
The MIT License (MIT). Please see License File for more information.