robinbressan/sequoia

Provide tools to manage tree data structure

Maintainers

👁 RobinBressan

Package info

github.com/RobinBressan/sequoia

pkg:composer/robinbressan/sequoia

Statistics

Installs: 6

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-master 2013-12-13 18:01 UTC

Requires

None

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT c355d35fa62ce1cc0706223e76415a822fedee2b

  • Robin Bressan <robin.woop@buddey.net>

tree

This package is not auto-updated.

Last update: 2026-06-16 11:15:52 UTC


README

Basic object model to deal with tree

Installation

The recommended way to install sequoia is through Composer. Just create a composer.json file, and run the composer install command to install it:

{
 "require": {
 "robinbressan/sequoia": "dev-master"
 }
}

Usage

$tree = new Tree(new Node('root'));

$foo = new Node('foo');
$tree->getRootNode()->appendChild($foo);

$bar = new Node('bar');
$foo->appendChild($bar);

// Returns $bar
$tree->getRootNode()->find('foo/bar');

License

This library is available under the MIT License.