theartoflogic/doctrine-tree-extension

Adds tree behaviors to your doctrine entities.

dev-master 2013-01-24 07:42 UTC

This package is not auto-updated.

Last update: 2024-05-11 13:22:37 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

Build Status

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