PHPackages                             kanoulis/nodes - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. kanoulis/nodes

ActiveLibrary

kanoulis/nodes
==============

Closure Table Hierarchy data model implementation for PHP Data Objects

v0.1(8y ago)120MITPHPPHP &gt;=5.4.0

Since Jul 21Pushed 8y agoCompare

[ Source](https://github.com/kanoulis/nodes)[ Packagist](https://packagist.org/packages/kanoulis/nodes)[ RSS](/packages/kanoulis-nodes/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

nodes
=====

[](#nodes)

Implementation of closure table for hierarchy data model operations in RDBMS

Features
--------

[](#features)

- Creates paths when you insert a new node
- Updates paths when you move a node
- Updates paths when you rename a node
- Can search for nodes by node id or node path
- Can get node tree by node path

Install
-------

[](#install)

To install with composer:

```
composer require kanoulis/nodes

```

Usage
-----

[](#usage)

Basic usage example:

You need to have permissions to create the sqlite database file.

```
