ui-awesome/html-field
Composer 安装命令:
composer require ui-awesome/html-field
包简介
HTML Awesome Field for PHP.
关键字:
README 文档
README
UI Awesome Field for PHP.
This library provides a way to generate HTML code for various types of form fields, including text, text area,
selection, checkbox, radio, and all input types.
<?php declare(strict_types=1); use App\Model\BasicForm; echo Field::widget(new BasicForm(), 'fruits') ->input( CheckboxList::widget() ->items( Checkbox::widget()->label('Apple')->value(1), Checkbox::widget()->label('Banana')->value(2), Checkbox::widget()->label('Orange')->value(3), ) ) ->render()
Installation
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist ui-awesome/html-field:^0.1
or add
"ui-awesome/html-field": "^0.1"
to the require section of your composer.json file.
Usage
Check the documentation docs to learn about usage.
Testing
Check the documentation testing to learn about testing.
Support versions
License
The MIT License (MIT). Please see License File for more information.
Our social networks
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: mit
- 更新时间: 2024-03-21