https://github.com/4d47/php-tag-helper
The tag string generator (Engineered for making XML or HTML5 soup)
https://github.com/4d47/php-tag-helper
Last synced: 22 days ago
JSON representation
The tag string generator (Engineered for making XML or HTML5 soup)
- Host: GitHub
- URL: https://github.com/4d47/php-tag-helper
- Owner: 4d47
- License: mit
- Created: 2012-08-10T14:42:24.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-11-27T16:11:08.000Z (over 10 years ago)
- Last Synced: 2025-04-12T02:04:58.651Z (22 days ago)
- Language: PHP
- Homepage:
- Size: 266 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
php-tag-helper
==============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](https://github.com/4d47/php-tag-helper/blob/master/TagTest.php) for usage.