8000 GitHub - ui-awesome/html at refs/heads/main
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ui-awesome/html

 
 

Repository files navigation

UI Awesome HTML Code Generator for PHP.


PHPUnit Codecov Infection Psalm Psalm Coverage Style ci

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

PHP81

License

The MIT License (MIT). Please see License File for more information.

Our social networks

Twitter

About

UI Awesome HTML code generator for PHP.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

0