Download the PHP package bupy7/doctrine-nested-set without Composer
On this page you can find all versions of the php package bupy7/doctrine-nested-set. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package doctrine-nested-set
doctrine-nested-set
Library for Doctrine ORM releasing the nested set model tree.
Features
- [x] Multiple roots.
- [x] Fetching all items.
- [x] Fething children items.
- [x] Fething descendant items.
- [x] Fething a parent item.
- [x] Fething root items.
- [x] Fething ancestor items.
- [x] Adding as last of some item.
- [x] Adding as first of some item.
- [ ] TODO: Adding after some item.
- [ ] TODO: Adding before some item.
- [x] Adding as a first root item.
- [x] Adding as a last root item.
- [x] Removing a item.
- [ ] TODO: Moving item after some item.
- [ ] TODO: Moving item before some item.
- [ ] TODO: Making as root item.
- [ ] TODO: Making as a child item of some parent item.
Install
The preferred way to install this extension is through composer.
Configuration
Add entity
Add repository
Usage
Tree example:
Fetching all items
Fething children items
Fething descendant items
Fething a parent item
Fething root items
Fething ancestor items
Adding as first of some item
Result of tree:
Adding as last of some item
Result of tree:
Adding as a first root item
Result of tree:
Adding as a last root item
Result of tree:
Removing a item
Result of tree:
or remove with descendants:
Result of tree:
You may use transactions when it needs manually
License
doctrine-nested-set is released under the BSD 3-Clause License.
All versions of doctrine-nested-set with dependencies
PHP Build Version
Package Version
The package bupy7/doctrine-nested-set contains the following files
Loading the files please wait ....