osynapsy.net / osynapsy-html
Osynapsy html library
1.0.1
2022-09-05 14:31 UTC
Requires
- php: >=7.2.0
This package is auto-updated.
Last update: 2024-12-05 19:06:45 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-html "@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>