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.
For a full diff see [0.8.0...0.9.0`][0.8.0...0.9.0].
For a full diff see [0.7.2...0.8.0`][0.7.2...0.8.0].
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]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]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]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]For a full diff see [0.4.0...0.5.0][0.4.0...0.5.0].
For a full diff see [0.3.1...0.4.0][0.3.1...0.4.0].
For a full diff see [0.3.0...0.3.1][0.3.0...0.3.1].
For a full diff see [0.2.7...0.3.0][0.2.7...0.3.0].
NodeTrait to Node ([#30]), by [@asalazar-pley]For a full diff see [0.2.6...0.2.7][0.2.6...0.2.7].
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].
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.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.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].
NodeTrait from NodeFor a full diff see [0.9.0...0.10.0`][0.10.0...0.10.1].
For a full diff see [0.9.0...0.10.0`][0.9.0...0.10.0].
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.
[@asalazar-pley]: https://github.com/asalazar-pley [@Djuki]: https://github.com/Djuki [@dwightwatson]: https://github.com/dwightwatson [@jdeniau]: https://github.com/jdeniau [@localheinz]: https://github.com/localheinz [@mdwheele]: https://github.com/mdwheele [@nicmart]: https://github.com/nicmart [@pascalbaljet]: https://github.com/pascalbaljet [@smoench]: https://github.com/smoench
How can I help you explore Laravel packages today?