c4tech/nested-set

A nested set implementation for easy extension.

2.1.0 2015-09-16 20:52 UTC

This package is not auto-updated.

Last update: 2024-10-26 17:56:03 UTC


README

A package for bootstrapping nested set implementations. Made with love by C4 Tech and Design.

Latest Stable Version Build Status Scrutinizer Code Quality Code Coverage

Repository

Our nested set repository provides a cacheable interface to the underlying model. This builds on top of the base Repository class from c4tech/support.

The property refering to the underlying model (static $model) is expected to be a reference to a config item but can be a hardcoded class name.

Model

Our nested set model bridges the baum/baum implementation with our own base Model class from c4tech/support.

Installation and setup

  1. Add "c4tech/nested-set": "2.x" to your composer requirements and run composer update.
  2. Create your own classes to extend Model and Repository.