MPTT is an eficient hierarchical tree algorithm also known as Nested Sets.
This library ships a simple a database interface which allows the creation of custom database layers. This means you can use the library with any sql database orm/adapter.
Please checkout ./tests/
and ./examples/
for usage instructions.