NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #918 most downloaded on Packagist
A basic but flexible php tree data structure and a fluent tree builder implementation.
Latest stable
0.11.0
Last release 2 months ago
14 Sep 2026
Ships unpredictably
gaps range from 4 weeks to 4.8 years
Nearly every release is documented
notes for 23 of 24 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
24 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
<!-- Release notes generated using configuration in .github/release.yaml at 0.11.0 -->
<!-- Release notes generated using configuration in .github/release.yaml at 0.11.0 -->
Full Changelog: https://github.com/nicmart/Tree/compare/0.10.1...0.11.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
For a full diff see [0.10.1...0.11.0][0.10.1...0.11.0].
<!-- Release notes generated using configuration in .github/release.yaml at 0.10.1 -->
<!-- Release notes generated using configuration in .github/release.yaml at 0.10.1 -->
Full Changelog: https://github.com/nicmart/Tree/compare/0.10.0...0.10.1
For a full diff see [0.10.0...0.10.1][0.10.0...0.10.1].
<!-- Release notes generated using configuration in .github/release.yaml at 0.10.0 -->
<!-- Release notes generated using configuration in .github/release.yaml at 0.10.0 -->
iconv extension by @localheinz in https://github.com/nicmart/Tree/pull/371Full Changelog: https://github.com/nicmart/Tree/compare/0.9.0...0.10.0
For a full diff see [0.9.0...0.10.0][0.9.0...0.10.0].
<!-- Release notes generated using configuration in .github/release.yaml at 0.9.0 -->
<!-- Release notes generated using configuration in .github/release.yaml at 0.9.0 -->
platform configuration as needed by @localheinz in https://github.com/nicmart/Tree/pull/241Full Changelog: https://github.com/nicmart/Tree/compare/0.8.0...0.9.0
For a full diff see [0.8.0...0.9.0`][0.8.0...0.9.0].
<!-- Release notes generated using configuration in .github/release.yaml at 0.8.0 -->
<!-- Release notes generated using configuration in .github/release.yaml at 0.8.0 -->
Full Changelog: https://github.com/nicmart/Tree/compare/0.7.2...0.8.0
For a full diff see [0.7.2...0.8.0`][0.7.2...0.8.0].
<!-- Release notes generated using configuration in .github/release.yaml at 0.7.2 -->
<!-- Release notes generated using configuration in .github/release.yaml at 0.7.2 -->
LogicException when attempting to get Node from empty NodeBuilder by @localheinz in https://github.com/nicmart/Tree/pull/209Full Changelog: https://github.com/nicmart/Tree/compare/0.7.1...0.7.2
For a full diff see [0.7.1...0.7.2`][0.7.1...0.7.2].
LogicException when attempting to get a Node from an empty NodeBuilder ([#209]), by [@localheinz]<!-- Release notes generated using configuration in .github/release.yaml at 0.7.1 -->
<!-- Release notes generated using configuration in .github/release.yaml at 0.7.1 -->
Full Changelog: https://github.com/nicmart/Tree/compare/0.7.0...0.7.1
For a full diff see [0.7.0...0.7.1`][0.7.0...0.7.1].
NodeBuilderInterface::leafs() and NodeBuilder::leafs() ([#168]), by [@localheinz]Fix: Use static by @localheinz in https://github.com/nicmart/Tree/pull/149
static by @localheinz in https://github.com/nicmart/Tree/pull/149array from getNeighbors() when node is root by @localheinz in https://github.com/nicmart/Tree/pull/153getNeighborsAndSelf() when node is root by @localheinz in https://github.com/nicmart/Tree/pull/154infection/infection by @localheinz in https://github.com/nicmart/Tree/pull/155Full Changelog: https://github.com/nicmart/Tree/compare/0.6.0...0.7.0
For a full diff see [0.6.0...0.7.0`][0.6.0...0.7.0].
NodeInterface::root() from self to static ([#149]), by [@localheinz]NodeInterface::getSize() ([#150]), by [@localheinz]Node::getNeigbors() when node is root ([#153]), by [@localheinz]Node::getNeigborsAndSelf() when node is root ([#154]), by [@localheinz]composer(deps-dev): Bump ergebnis/license from 1.1.0 to 2.1.0 by @dependabot in https://github.com/nicmart/Tree/pull/139
maglnet/composer-require-checker by @localheinz in https://github.com/nicmart/Tree/pull/146getSize() to NodeInterface by @localheinz in https://github.com/nicmart/Tree/pull/147root() to NodeInterface by @localheinz in https://github.com/nicmart/Tree/pull/148Full Changelog: https://github.com/nicmart/Tree/compare/0.5.0...0.6.0
For a full diff see [0.5.0...0.6.0`][0.5.0...0.6.0].
getSize() to NodeInterface ([#147]), by [@localheinz]root() to NodeInterface ([#148]), by [@localheinz]github-actions(deps): bump actions/checkout from 3.0.2 to 3.1.0 by @dependabot in https://github.com/nicmart/Tree/pull/114
~ operator to limit compatibility with PHP versions by @localheinz in https://github.com/nicmart/Tree/pull/134Full Changelog: https://github.com/nicmart/Tree/compare/0.4.0...0.5.0
For a full diff see [0.4.0...0.5.0][0.4.0...0.5.0].
Fix: Reference by @localheinz in https://github.com/nicmart/Tree/pull/82
vimeo/psalm by @localheinz in https://github.com/nicmart/Tree/pull/111Full Changelog: https://github.com/nicmart/Tree/compare/0.3.1...0.4.0
For a full diff see [0.3.1...0.4.0][0.3.1...0.4.0].
Build(deps): Bump actions/create-release from v1 to v1.1.1 (#53), by @dependabot[bot]
actions/create-release from v1 to v1.1.1 (#53), by @dependabot[bot]composer.json (#56), by @localheinzergebnis/composer-normalize (#61), by @localheinzphpunit/phpunit from 4.8.36 to 7.5.20 (#60), by @dependabot[bot]ergebnis/php-cs-fixer-config (#65), by @localheinzergebnis/license (#66), by @localheinzergebnis/php-cs-fixer-config from 2.2.0 to 2.2.1 (#69), by @dependabot[bot]ergebnis/composer-normalize from 2.5.1 to 2.6.0 (#70), by @dependabot[bot]ergebnis/composer-normalize from 2.6.0 to 2.6.1 (#71), by @dependabot[bot]actions/create-release from v1.1.1 to v1.1.2 (#72), by @dependabot[bot]actions/create-release from v1.1.2 to v1.1.3 (#73), by @dependabot[bot]ergebnis/composer-normalize from 2.6.1 to 2.7.0 (#74), by @dependabot[bot]ergebnis/composer-normalize from 2.7.0 to 2.7.1 (#75), by @dependabot[bot]actions/github-script from v2 to v3 (#76), by @dependabot[bot]ergebnis/composer-normalize from 2.7.1 to 2.8.0 (#77), by @dependabot[bot]actions/create-release from v1.1.3 to v1.1.4 (#78), by @dependabot[bot]For a full diff see [0.3.0...0.3.1][0.3.0...0.3.1].
Fix: Remove empty setUp() (#29), by @localheinz
setUp() (#29), by @localheinzphpunit/phpunit (#33), by @mark-gerartsNode, constructor is in the Node class instead of Trait (#30), by @asalazar-pleyCHANGELOG.md (#40), by @localheinzcomposer.json and composer.lock (#41), by @localheinzergebnis/composer-normalize to normalize composer.json (#52), by @localheinzFor a full diff see [0.2.7...0.3.0][0.2.7...0.3.0].
NodeTrait to Node ([#30]), by [@asalazar-pley]Pre Order and Post Order tree traversal through visitors.
Pre Order and Post Order tree traversal through visitors.
For a full diff see [0.2.6...0.2.7][0.2.6...0.2.7].
New getSize method that gives you the total number of nodes in the tree.
New getSize method that gives you the total number of nodes in the tree.
For a full diff see [0.2.5...0.2.6][0.2.5...0.2.6].
getSize() method to Node ([#17]), by [@Djuki]For a full diff see [0.2.4...0.2.5][0.2.4...0.2.5].
For a full diff see [0.2.4...0.2.5][0.2.4...0.2.5].
getDepth() and getHeight() methods to Node ([#9]), by [@nicmart]For a full diff see [0.2.3...0.2.4][0.2.3...0.2.4].
For a full diff see [0.2.3...0.2.4][0.2.3...0.2.4].
For a full diff see [0.2.2...0.2.3][0.2.2...0.2.3].
For a full diff see [0.2.2...0.2.3][0.2.2...0.2.3].
Node::getAncestors() now does not return the current node ([#4]), by [@nicmart],For a full diff see [0.2.1...0.2.2][0.2.1...0.2.2].
For a full diff see [0.2.1...0.2.2][0.2.1...0.2.2].
For a full diff see [0.2.0...0.2.1][0.2.0...0.2.1].
For a full diff see [0.2.0...0.2.1][0.2.0...0.2.1].
root() and isRoot() to NodeFor a full diff see [0.1.2...0.2.0][0.1.2...0.2.0].
For a full diff see [0.1.2...0.2.0][0.1.2...0.2.0].
NodeTrait from NodeFor a full diff see [0.1.1...0.1.2][0.1.1...0.1.2].
For a full diff see [0.1.1...0.1.2][0.1.1...0.1.2].
YieldVisitor, to get the yield of the treeFor a full diff see [fcfd14e...v0.1.1][fcfd14e...0.1.1].
Nothing published for this version
One column per quarter.