osynapsy/osynapsy-html2

Osynapsy html library

1.0 2024-11-20 16:25 UTC

This package is auto-updated.

Last update: 2024-12-20 17:04:32 UTC


README

OsynapsyHtml is a library for build html tag and components in Php.

Installation

It's recommended that you use Composer to install osynapsy-html.

$ composer require osynapsy.net/osynapsy-html2 "@stable"

Usage

<?php

$div = new \Osynapsy\Html\Tag('div', 'div1', 'card');
$div->addClass('bg-white')->add('Test');

echo $div;

result

<div id="div1" class="card bg-white">Test</div>