mathsgod / html
1.0.14
2020-12-29 03:04 UTC
Requires
None
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Description
A simple way to create html element
How to use
echo html("a")->href("https://google.com")->text("Hello world!"); //<a href="https://google.com">Hello world</a> echo html("div")->button->class("btn btn-xs")->type("submit")->text("Submit"); //<div><button class="btn btn-xs" type="submit">Submit</button></div>