php-html-generator
php-html-generator copied to clipboard
Php class to generate html code
There is an error with this repository's Mend configuration file that needs to be fixed. As a precaution, scans will stop until it is resolved. Errors: * Failed to parse...
My main use case for this class is generating an HTML structure when there are many conditions to that structure. An example would be an element I'll call `post-meta` which...
Just things I saw that might help out. Feel free to cleanup and use as you see fit. Just wanted to follow more in line with PSR standards, in particular...
got following notice Return type of `HtmlGenerator\Markup::offsetUnset($attribute)` should either be compatible with `ArrayAccess::offsetUnset(mixed $offset): void`, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in `/project-folder/vendor/airmanbzh/php-html-generator/src/Markup.php` on...