PHPackages                             simphotonics/node - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. simphotonics/node

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

simphotonics/node
=================

Create, edit, output XML nodes and documents.

v2.0.0(4y ago)04MITPHPPHP ^8.0.0

Since Mar 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/simphotonics/node)[ Packagist](https://packagist.org/packages/simphotonics/node)[ Docs](http://github.com/simphotonics/dom)[ RSS](/packages/simphotonics-node/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Simphotonics Node
=================

[](#simphotonics-node)

[![PHP Composer](https://github.com/simphotonics/node/actions/workflows/php.yml/badge.svg)](https://github.com/simphotonics/node/actions/workflows/php.yml)

Simphotonics nodes can be used to to create, edit, search, and output HTML nodes. The library contains classes that help with the creation of [navigators](#navigator), input elements, and HTML [tables](#table).

Node make composing HTML documents easier by removing the need for structured text and enabling reuse of HTML nodes. Most web sites use a fixed page layout that is then filled with the page content: text, anchors, images, etc. The section [web page template](#web-page-template) shows how to use nodes to create a simple two column empty web page prototype.

Simphotonics Node also includes a rudimentary HTML parser, a DTD parser, and a Node Renderer. For more information visit .

Installation
------------

[](#installation)

From a terminal issue the command:

```
composer require simphotonics/node
```

Alternatively, add simphotonics/node to the list of required libraries in your `composer.json` file:

```
{
    "require": {
        "simphotonics/node": ">=1.0.0"
    }
}
```

Usage
-----

[](#usage)

To create nodes, an array with optional entries \*kind, attr, content, and childNodes is passed to the constructor:

```
