Download the PHP package shish/microhtml without Composer
On this page you can find all versions of the php package shish/microhtml. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download shish/microhtml
More information about shish/microhtml
Files in shish/microhtml
Download shish/microhtml
More information about shish/microhtml
Files in shish/microhtml
Vendor shish
Package microhtml
Short Description A minimal HTML generating library
License MIT
Homepage https://github.com/shish/microhtml
Package microhtml
Short Description A minimal HTML generating library
License MIT
Homepage https://github.com/shish/microhtml
Please rate this library. Is it a good library?
Informations about the package microhtml
MicroHTML
Moving from Hack to vanilla PHP, I miss XHP T__T
This isn't XHP, but it does provide a minimum-bullshit method of generating HTML in a consistent and secure manner
Security Notes
- Tag attribute values and text content are escaped by default
- Tag names and attribute names are not escaped, it is assumed that the developer will be hard-coding these
- Tag attributes are not filtered other than escaping, so be careful when allowing user input in attributes (e.g.
href,src) to avoid XSS vulnerabilities rawHTML()can be used to insert unescaped content - it is the developer's responsibility to ensure that this content is safe
Build
src/microhtml.php is generated by gen.php
Testing
Release
All versions of microhtml with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.4
The package shish/microhtml contains the following files
Loading the files please wait ...