Download the PHP package ui-awesome/html-core without Composer
On this page you can find all versions of the php package ui-awesome/html-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ui-awesome/html-core
More information about ui-awesome/html-core
Files in ui-awesome/html-core
Package html-core
Short Description UI Awesome HTML Core Code Generator for PHP.
License mit
Informations about the package html-core
UI Awesome HTML Core Code Generator for PHP.
This package provides a set of HTML
helper and widgets for generating HTML
elements in a programmatic way with
PHP
.
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
file.
Usage
Create a new HTML
element
To create a new HTML
element, you can use the HTMLBuilder::class
with the createTag()
method.
Allowed arguments are:
tag
(string) - The tag name.content
(string) - The content of the tag.attributes
(array) - The attributes of the tag.
Create a new HTML
block element
To create a new HTML
block element, you can use the HTMLBuilder::class
with the beginTag()
and endTag()
methods.
Allowed arguments for beginTag()
method are:
tag
(string) - The tag name.attributes
(array) - The attributes of the tag.
Allowed arguments for endTag()
method are:
tag
(string) - The tag name.
Generic widget
- Tag
- Block
Testing
Check the documentation testing to learn about testing.
Support versions
License
The MIT License (MIT). Please see License File for more information.
Our social networks
All versions of html-core with dependencies
php-forge/awesome-widget Version ^0.1
ui-awesome/html-interop Version ^0.1
ui-awesome/html-attribute Version ^0.2
ui-awesome/html-concern Version ^0.2
ui-awesome/html-helper Version ^0.2