c4tech / nested-set
A nested set implementation for easy extension.
2.1.0
2015-09-16 20:52 UTC
Requires
- php: >=5.5.9
- baum/baum: ^1.1.0
- c4tech/support: ^3.0.0
- illuminate/support: ^5.0.0
This package is not auto-updated.
Last update: 2024-11-23 18:18:25 UTC
README
A package for bootstrapping nested set implementations. Made with love by C4 Tech and Design.
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
- Add
"c4tech/nested-set": "2.x"
to your composer requirements and runcomposer update
. - Create your own classes to extend
Model
andRepository
.