Registry / utility / nicmart-tree

nicmart-tree

JSON →
library0.10.1phppackagistunverified

A basic but flexible PHP tree data structure and fluent tree builder.

composer require nicmart/tree
INSTALL
IMPORT
SIG · NICMART-TREE
N
nicmart-tree
utilityphpv0.10.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Node
use Tree\Node\Node;

Create a tree with a root node and add a child.

use Tree\Node\Node; $root = new Node('root'); $child = new Node('child'); $root->addChild($child); echo $root->getValue();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.10.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
nicmart-tree — pip install nicmart-tree · libregistry