ubermanu/hyperhtml

HTML elements abstraction for PHP

1.5.0 2023-02-07 17:55 UTC

This package is auto-updated.

Last update: 2024-05-07 20:59:30 UTC


README

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.