theartoflogic / doctrine-tree-extension
Adds tree behaviors to your doctrine entities.
dev-master
2013-01-24 07:42 UTC
Requires
- php: >=5.3.2
- doctrine/orm: >=2.2.3,<2.4-dev
Requires (Dev)
- symfony/config: dev-master
- symfony/http-kernel: dev-master
This package is not auto-updated.
Last update: 2025-05-10 18:39:22 UTC
README
This library contains an extension for Doctrine that makes it quick and easy to add hierarchical tree structures to your entities. With just a couple of configurations you can start managing your tree structures effortlessly.
Version 1.0.0
Features
Note: At this time Closure trees are the only supported method. I am actively developing support for other tree models and will release an update as soon as they are ready.
- Closure Tree: Easily manage the closure table, including the option to specify the depth of each node.
Upcoming Features
- Nested Set: Easily manage the nested set data.
Running the tests:
To run the tests follow these instructions:
- Install composer (needed to install dependencies).
- Go to the root directory for the extension.
- Run (install dependencies): composer --dev update
- Run (execute tests): phpunit