Download the PHP package wert1209yt/htmlman without Composer
On this page you can find all versions of the php package wert1209yt/htmlman. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wert1209yt/htmlman
More information about wert1209yt/htmlman
Files in wert1209yt/htmlman
Download wert1209yt/htmlman
More information about wert1209yt/htmlman
Files in wert1209yt/htmlman
Vendor wert1209yt
Package htmlman
Short Description Object-oriented HTML generator and declarative UI builder for PHP without extra files.
License MIT
Package htmlman
Short Description Object-oriented HTML generator and declarative UI builder for PHP without extra files.
License MIT
Please rate this library. Is it a good library?
Informations about the package htmlman
A lightweight PHP framework for efficient HTML generation.
Why us
- Maximum OOP
- Create HTML elements directly in PHP using the corresponding classes, for example:
new P('Example!'),new Div([ new P('Example)]) - Register your elements to simplify things: you can register a class associated with a
div—complete with HTML classes, styles, and even a nested structure — and the engine will automatically locate the innermost element and inject the content there! (And WebComponents support) - Formatting your HTML structure via
->format()adds indentation to the element class and nested elements (by default, minified HTML without indentation is output). - Adding classes, IDs, and styles to elements is supported via
->class('example example-has-padding'),->id('123'), and->style('display: none;'). - Support for all HTML5 elements, except obsolete ones, though you can register any obsolete element.
- Auto-screening of content (can be disabled by
->raw())
How to get started
First, you need to install it via Composer:
Usage in your project:
Register your custom elements classes
Minimal (example):
Base use
Add class, id or style:
You can add indents using formatting:
If you want link:
All versions of htmlman with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
The package wert1209yt/htmlman contains the following files
Loading the files please wait ...