nemundo/html

Html Generator

6 2023-03-18 07:19 UTC

This package is auto-updated.

Last update: 2024-04-14 22:05:44 UTC


README

Generate Html Code

Installation

composer require nemundo/html

Example

$html = new \Nemundo\Html\Document\HtmlDocument();
$html->title = 'Document Example';

$h1 = new \Nemundo\Html\Heading\H1($html);
$h1->content = 'Hello World!';

$p = new \Nemundo\Html\Paragraph\Paragraph($html);
$p->content = 'Lorem ..';

$html->render();