ui-awesome / html-concern
PHP UI Awesome HTML Concern 代码生成器。
0.2.0
2024-03-30 17:35 UTC
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-08-30 18:25:50 UTC
README
PHP UI Awesome HTML Concern 代码生成器。
安装
安装此扩展的首选方式是通过 composer。
运行以下命令之一
composer require --prefer-dist ui-awesome/html-concern:^0.2
或添加以下内容到您的 composer.json
文件的 require 部分。
"ui-awesome/html-concern": "^0.2"
用法
可在类中使用以下特性列表
- HasAttributes
- HasContaineCollection
可用方法:
containerAttributes()
,containerClass()
,containerTag()
。 - HasContent
- HasLabelCollection
可用方法:
disabledLabel
,label
,labelAttributes()
,labelClass()
,labelFor()
。 - HasPrefixCollection
可用方法:
prefix()
,prefixAttributes()
,prefixClass()
,prefixTag()
。 - HasSeparator
- HasSuffixCollection
可用方法:
suffix()
,suffixAttributes()
,suffixClass()
,suffixTag()
。 - HasTag
- HasTagName
- HasTemplate
- HasUncheckedCollection
可用方法:
uncheckedAttributes()
,uncheckedClass()
,uncheckedValue()
。
测试
查看测试文档 了解有关测试的更多信息。
支持版本
许可证
MIT 许可证(MIT)。请参阅 许可证文件 了解更多信息。