ubermanu / hyperhtml
HTML elements abstraction for PHP
1.5.0
2023-02-07 17:55 UTC
Requires
- php: >=8.0
Requires (Dev)
- phpunit/phpunit: ^9.5
README
HTML elements abstraction for PHP.
Installation
composer require ubermanu/hyperhtml
Usage
<?php use function Ubermanu\Hyperhtml\h; echo h('p', 'Hello world!'); // <p>Hello world!</p>
Check out the documentation for more examples.