4d47/tag

Tag string generator (Engineered for making soup)

v2.0.0 2014-06-24 20:09 UTC

README

The tag string generator (Engineered for making XML or HTML5 soup). With automatic escaping and without string concatenations, printf or HTML/PHP switching.

<?=
Tag::a(['href' => $url, 'title' => $title], Tag::b($name))->br();
?>

There is no documentation but install with composer require 4d47/tag ~2.0 and refer to the tests for usage.