PHPackages                             ui-awesome/html-contracts - 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-contracts

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

ui-awesome/html-contracts
=========================

Shared interfaces for the UI Awesome HTML ecosystem: rendering, attribute management, element typing, and form controls.

0.1.0(1mo ago)15.0k[1 PRs](https://github.com/ui-awesome/html-contracts/pulls)4BSD-3-ClausePHPPHP ^8.3CI passing

Since Apr 28Pushed 1mo agoCompare

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

READMEChangelog (1)Dependencies (5)Versions (6)Used By (4)

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

Html helper
===========

[](#html-helper)

 **Contracts (interfaces) for the UI Awesome HTML ecosystem for PHP**
 *Provides shared interfaces for rendering, attribute management, and form control typing across HTML packages.*

### Installation

[](#installation)

```
composer require ui-awesome/html-contracts:^0.1
```

### Interfaces

[](#interfaces)

#### RenderableInterface

[](#renderableinterface)

Core contract for any object that can be rendered as an HTML string. Extends `Stringable`.

```
