Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

PHP DOM Builder API

PHP DOM Builder is unveiled in second revision

In 2014 year PHP DOM Builder library was unveiled at the first time within the framework of Baigudin Software project. Two years have been left after that moment and today we are glad to offer the second generation that is PHP DOM Builder Revision 2.

Setup and include

PHP DOM Builder is a library which contains a collection of implementing classes within DomBuilder root namespace. The files hierarchy matches with the sub-namespaces. If you use an autoloader for including your source files, you must put “DomBuilder” directory to root directory of your project. The other way, you need to include Elements.php file to your project.

When we talk about class names, we will talk about its names relationally of library root namespace. Speaking of Element class, we imply DomBuilder\Element. The same is about deep classes. Element\Divclass is DomBuilder\Element\Div.

To the articles list

To the next article