https://github.com/mathsgod/html
A simple way to create html element
https://github.com/mathsgod/html
Last synced: about 1 year ago
JSON representation
A simple way to create html element
- Host: GitHub
- URL: https://github.com/mathsgod/html
- Owner: mathsgod
- Created: 2019-01-09T08:18:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-29T03:04:42.000Z (over 5 years ago)
- Last Synced: 2025-03-13T09:03:24.948Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# html
## Description
A simple way to create html element
## How to use
```php
echo html("a")->href("https://google.com")->text("Hello world!");
//Hello world
echo html("div")->button->class("btn btn-xs")->type("submit")->text("Submit");
//
Submit
```