Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ui-awesome/html
UI Awesome HTML code generator for PHP.
https://github.com/ui-awesome/html
List: html
code-generator html php ui-awesome
Last synced: about 2 months ago
JSON representation
UI Awesome HTML code generator for PHP.
- Host: GitHub
- URL: https://github.com/ui-awesome/html
- Owner: ui-awesome
- License: mit
- Created: 2024-03-05T14:15:16.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-31T12:24:09.000Z (9 months ago)
- Last Synced: 2024-10-03T22:46:05.968Z (3 months ago)
- Topics: code-generator, html, php, ui-awesome
- Language: PHP
- Homepage:
- Size: 242 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 Code Generator for PHP.
The **HTML** repository is a powerful tool for generating `HTML` code using `PHP`.
```php
use UIAwesome\Html\{Document\Body, Document\Html, Group\Div, Semantic\Header};echo Html::widget()
->content(
$this->render('header'),
Body::widget()
->class('content flex flex-col h-[100vh] min-h-[100vh] bg-gray-100 dark:bg-gray-500 theme-loading')
->content(
Header::widget()->content($this->render('component/menu')),
Div::widget()
->class('flex-grow flex flex-col justify-center')
->content(
Div::widget()->class('h-full flex flex-col justify-center')->content($content)
),
$this->render('footer')
)
)
->lang('en')
->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:^0.2
```or add
```json
"ui-awesome/html": "^0.2"
```## 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)