Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ui-awesome/html-concern
UI Awesome HTML Concern Code Generator for PHP.
https://github.com/ui-awesome/html-concern
List: html-concern
html-concern php ui-awesome
Last synced: about 2 months ago
JSON representation
UI Awesome HTML Concern Code Generator for PHP.
- Host: GitHub
- URL: https://github.com/ui-awesome/html-concern
- Owner: ui-awesome
- License: mit
- Created: 2024-03-05T07:47:55.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-30T17:37:45.000Z (9 months ago)
- Last Synced: 2024-11-05T13:49:02.012Z (about 2 months ago)
- Topics: html-concern, php, ui-awesome
- Language: PHP
- Homepage:
- Size: 68.4 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 HTML Concern Code Generator for PHP.
## 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-concern:^0.2
```or add
```json
"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](src/HasAttributes.php)
- [HasContaineCollection](src/HasContainerCollection.php)
> Methods available: `containerAttributes()`, `containerClass()`, `containerTag()`.
- [HasContent](src/HasContent.php)
- [HasLabelCollection](src/HasLabelCollection.php)
> Methods available: `disabledLabel`, `label`, `labelAttributes()`, `labelClass()`, `labelFor()`.
- [HasPrefixCollection](src/HasPrefixCollection.php)
> Methods available: `prefix()`, `prefixAttributes()`, `prefixClass()`, `prefixTag()`.
- [HasSeparator](src/HasSeparator.php)
- [HasSuffixCollection](src/HasSuffixCollection.php)
> Methods available: `suffix()`, `suffixAttributes()`, `suffixClass()`, `suffixTag()`.
- [HasTag](src/HasTag.php)
- [HasTagName](src/HasTagName.php)
- [HasTemplate](src/HasTemplate.php)
- [HasUncheckedCollection](src/HasUncheckedCollection.php)
> Methods available: `uncheckedAttributes()`, `uncheckedClass()`, `uncheckedValue()`.## 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) 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)