Download the PHP package emreuyguc/easytag without Composer
On this page you can find all versions of the php package emreuyguc/easytag. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download emreuyguc/easytag
More information about emreuyguc/easytag
Files in emreuyguc/easytag
Download emreuyguc/easytag
More information about emreuyguc/easytag
Files in emreuyguc/easytag
Vendor emreuyguc
Package easytag
Short Description Simple html Tag creator.
License GPL-3.0-only
Homepage https://github.com/emreuyguc/php-easytag
Package easytag
Short Description Simple html Tag creator.
License GPL-3.0-only
Homepage https://github.com/emreuyguc/php-easytag
Please rate this library. Is it a good library?
Informations about the package easytag
php-easytag
Html/Xml markup Tag Creator for Php.
It is an easy markup tag creation tool with PHP. You can use helper methods with the Tag object and build it whenever you want. If you wish, you can have your tag build instantly by using the TagBuild extended class.
For self closing elements in html tags, I defined self closing tags in an extended HtmlTag class and provided instant rendering with the use of TagBuilder.
Usage
Tag Object
-
Init
-
Fast Init
-
Element Methods
-
Attribute Methods
- Build methods
Fast Tag Builder
Html Tag Builder
or with attributes
Features
- All methods can be chained.
- Tag Object have static method for fast tag init. Just call static method with your tag name. return type Tag
- HtmlTag and TagBuild are abstract class and just call static method with your tag name. Elements builds at runtime and only string returns.
- Tag Object and TagBuild fast init feature can take array ,string and tag objects. If you don't like using arrays, you can add infinite parameters of tag or string type and the class defines these parameters as elements.
- When using Tag Object fast init or using TagBuild, if the first parameter is array[key=> value] the class will automatically define attributes.
- In version 1.0.0, all outputs go through the beautify process. This feature currently does not have any settings.
Examples
Object Example
- Output
Fast Render Example
- OUTPUT
Easy Html for self closing tags
- OUTPUT
All versions of easytag with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
The package emreuyguc/easytag contains the following files
Loading the files please wait ....