aura/html
HTML escapers and helpers for any PHP template/view layer, including tag builders and form input helpers. Easy to use via a HelperLocatorFactory; built-in helpers escape values appropriately and you can register custom helpers via the HelperLocator.
Provides HTML escapers and helpers, including form input helpers, that can be used in any template, view, or presentation system.
This library requires PHP 8.4 or later with at least one of the mbstring or iconv extensions. It has no userland dependencies.
It is installable and autoloadable via Composer as aura/html.
To run the unit tests at the command line, issue composer install and then vendor/bin/phpunit at the package root. This requires Composer to be available as composer.
This library attempts to comply with PSR-1, PSR-12, and PSR-4.
To ask questions, provide feedback, or otherwise communicate with the Aura community, please join our Google Group, follow @auraphp on X, or chat with us on #auraphp on Freenode.
This package is fully documented here.
How can I help you explore Laravel packages today?