PHP library to generate html tags and attribute strings