PHPackages                             ui-awesome/html-interop - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. ui-awesome/html-interop

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

ui-awesome/html-interop
=======================

Shared backed enums classifying HTML elements by category (block, inline, list, table, void, metadata, root) for the UI Awesome ecosystem.

0.4.2(2w ago)145.0k↑1996.9%8BSD-3-ClausePHPPHP ^8.3CI passing

Since Mar 5Pushed 2w ago1 watchersCompare

[ Source](https://github.com/ui-awesome/html-interop)[ Packagist](https://packagist.org/packages/ui-awesome/html-interop)[ RSS](/packages/ui-awesome-html-interop/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (10)Dependencies (16)Versions (20)Used By (8)

 [ ![UI Awesome](https://raw.githubusercontent.com/ui-awesome/.github/refs/heads/main/logo/ui_awesome.png) ](https://github.com/ui-awesome/html-interop)

Html Interop
============

[](#html-interop)

 [ ![PHPUnit](https://camo.githubusercontent.com/1d17c71dde14bb22c5960c1a1587ea887c0432aa9fd79711d0d4be8766297940/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f75692d617765736f6d652f68746d6c2d696e7465726f702f6275696c642e796d6c3f7374796c653d666f722d7468652d6261646765266c6162656c3d504850556e6974266c6f676f3d676974687562) ](https://github.com/ui-awesome/html-interop/actions/workflows/build.yml) [ ![PHPStan](https://camo.githubusercontent.com/1e4ab429b0bcea5085230ddd0e1d79c146f30148e25059d782e89ec54aa8f280/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f75692d617765736f6d652f68746d6c2d696e7465726f702f7374617469632e796d6c3f7374796c653d666f722d7468652d6261646765266c6162656c3d5048505374616e266c6f676f3d676974687562) ](https://github.com/ui-awesome/html-interop/actions/workflows/static.yml) [ ![Security](https://camo.githubusercontent.com/0ca4c07b060e1213da6fe86acb430696baa30d959fee097f0cefc8bcdb782651/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f75692d617765736f6d652f68746d6c2d696e7465726f702f73656375726974792e796d6c3f7374796c653d666f722d7468652d6261646765266c6162656c3d5365637572697479266c6f676f3d676974687562) ](https://github.com/ui-awesome/html-interop/actions/workflows/security.yml)

 **Type-safe string-backed enums for HTML tag interoperability**
 *Provides standardized tag collections for block, inline, list, root, table, metadata, and void elements.*

Features
--------

[](#features)

  ![Feature Overview](./docs/svgs/features.svg)### Installation

[](#installation)

```
composer require ui-awesome/html-interop:^0.4
```

### Quick start

[](#quick-start)

#### Using block-level HTML tags

[](#using-block-level-html-tags)

Access standardized block-level tag names through the `Block` enum.

```
