/hyperhtml

🦾 HTML elements abstraction for PHP

Primary LanguagePHPMIT LicenseMIT

Hyperhtml

Tests

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.