ui-awesome/html-attribute

UI Awesome HTML Attribute for PHP.

Fund package maintenance!
terabytesoftw

Installs: 11 630

Dependents: 4

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/ui-awesome/html-attribute

0.4.0 2025-12-27 21:08 UTC

This package is auto-updated.

Last update: 2025-12-27 21:15:02 UTC


README

UI Awesome

Html attribute


PHPUnit Mutation Testing PHPStan

Features

Feature Overview

A focused library for building and rendering structured HTML attributes
Type-safe helpers and value objects to compose complex attribute structures (classes, data-attributes, ARIA, etc.).

Installation

composer require ui-awesome/html-attribute:^0.3

Quick start

Below are concise examples showing common attribute tasks.

<?php

declare(strict_types=1);

namespace App;

use UIAwesome\Html\Attribute\Media\{HasAlt, HasSrc};

final class ImageComponent
{
    use HasAlt;
    use HasSrc;
}

Documentation

For detailed configuration options and advanced usage see:

Package information

PHP Latest Stable Version Total Downloads

Quality code

Codecov PHPStan Level Max Super-Linter StyleCI

Our social networks

Follow on X

License

License