ui-awesome / html
UI Awesome HTML Code Generator for PHP.
Installs: 2 445
Dependents: 6
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.1
- ext-mbstring: *
- php-forge/awesome-widget: ^0.1.2
- ui-awesome/html-attribute: ^0.2
- ui-awesome/html-concern: ^0.2
- ui-awesome/html-core: ^0.1
- ui-awesome/html-helper: ^0.2
- ui-awesome/html-interop: ^0.1
Requires (Dev)
- maglnet/composer-require-checker: ^4.7
- php-forge/support: ^0.1
- phpunit/phpunit: ^10.5
- roave/infection-static-analysis-plugin: ^1.34
- symplify/easy-coding-standard: ^12.1
- vimeo/psalm: ^5.20
README
UI Awesome HTML Code Generator for PHP.
The HTML repository is a powerful tool for generating HTML
code using 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.
Either run
composer require --prefer-dist ui-awesome/html:^0.2
or add
"ui-awesome/html": "^0.2"
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.