sy / html
HTML components
Installs: 1 480
Dependents: 4
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.6.0
- sy/webcomponent: ^2
Requires (Dev)
- phpunit/phpunit: ^10
- dev-master
- 2.8.5
- 2.8.4
- 2.8.3
- 2.8.2
- 2.8.1
- 2.8.0
- 2.7.1
- 2.7.0
- 2.6.0
- 2.5.1
- 2.5.0
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.8
- 2.3.7
- 2.3.6
- 2.3.5
- 2.3.4
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.0
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.0
- 1.7.1
- 1.7.0
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.1
- 1.5.0
- 1.4.0
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.0
- dev-develop
This package is auto-updated.
Last update: 2024-10-24 20:46:37 UTC
README
HTML components
Installation
Install the latest version with
$ composer require sy/html
Basic Usage
<?php use Sy\Component\Html\Page; $page = new Page(); $page->setTitle('Page example'); $page->setBody('Hello world!'); echo $page;
Output:
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>Page example</title> </head> <body> Hello world! </body> </html>