ui-awesome / html-attribute
UI Awesome HTML Attribute Library for PHP.
Installs: 21 741
Dependents: 5
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ui-awesome/html-attribute
Requires
- php: ^8.1
- ui-awesome/html-helper: ^0.6
- ui-awesome/html-mixin: ^0.3
Requires (Dev)
- infection/infection: ^0.27|^0.32
- maglnet/composer-require-checker: ^4.1
- php-forge/coding-standard: ^0.1
- php-forge/support: ^0.3
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.1
- phpstan/phpstan-strict-rules: ^2.0.3
- phpunit/phpunit: ^10.5
- dev-main / 0.6.x-dev
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-fix_mini_18
- dev-feature_25
- dev-feature_24
- dev-feature_23
- dev-feature_22
- dev-feature_21
- dev-feature_20
- dev-feature_19
- dev-feature_18
- dev-fix_mini_17
- dev-feature_17
- dev-feature_16
- dev-fix_mini_16
- dev-feature_15
- dev-feature_14
- dev-fix_mini_15
- dev-fix_mini_14
- dev-feature_13
- dev-feature_12
- dev-feature_11
- dev-feature_10
- dev-fix_mini_13
This package is auto-updated.
Last update: 2026-02-01 13:09:44 UTC
README
Html attribute
Features
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: