Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ui-awesome/html-field
UI Awesome Field for PHP.
https://github.com/ui-awesome/html-field
List: html-field
html-field php ui-awesome
Last synced: about 2 months ago
JSON representation
UI Awesome Field for PHP.
- Host: GitHub
- URL: https://github.com/ui-awesome/html-field
- Owner: ui-awesome
- License: mit
- Created: 2024-03-18T16:09:52.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-03-31T14:16:29.000Z (9 months ago)
- Last Synced: 2024-03-31T15:26:32.856Z (9 months ago)
- Topics: html-field, php, ui-awesome
- Language: PHP
- Homepage:
- Size: 75.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
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
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](https://getcomposer.org/download/).
Either run
```shell
composer require --prefer-dist ui-awesome/html-field:^0.1
```or add
```json
"ui-awesome/html-field": "^0.1"
```to the require section of your `composer.json` file.
## Usage
[Check the documentation docs](/docs/README.md) to learn about usage.
## Testing
[Check the documentation testing](/docs/testing.md) to learn about testing.
## Support versions
[![PHP81](https://img.shields.io/badge/PHP-%3E%3D8.1-787CB5)](https://www.php.net/releases/8.1/en.php)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
## Our social networks
[![Twitter](https://img.shields.io/badge/twitter-follow-1DA1F2?logo=twitter&logoColor=1DA1F2&labelColor=555555?style=flat)](https://twitter.com/Terabytesoftw)