nicmart/tree
A lightweight, flexible tree data structure for PHP. Provides NodeInterface/Node implementations with parent/child management, leaf/child checks, and easy child add/remove/set operations. Includes fluent builder classes to assemble trees quickly.
Full Changelog: https://github.com/nicmart/Tree/compare/0.10.0...0.10.1
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
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
Full Changelog: https://github.com/nicmart/Tree/compare/0.7.2...0.8.0
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
Full Changelog: https://github.com/nicmart/Tree/compare/0.7.0...0.7.1
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
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
~ 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
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
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]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 @localheinzPre Order and Post Order tree traversal through visitors.
New getSize method that gives you the total number of nodes in the tree.
How can I help you explore Laravel packages today?