2017 © Pedro Peláez
 

library laravel-nestedset

Nested Set Model for Laravel

image

lianhechx/laravel-nestedset

Nested Set Model for Laravel

  • Tuesday, January 24, 2017
  • by lianhechx
  • Repository
  • 0 Watchers
  • 0 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

This is a Laravel package for working with trees in relational databases., (*1)

What are nested sets?

Nested sets or Nested Set Model is a way to effectively store hierarchical data in a relational table. From wikipedia:, (*2)

The nested set model is to number the nodes according to a tree traversal, which visits each node twice, assigning numbers in the order of visiting, and at both visits. This leaves two numbers for each node, which are stored as two attributes. Querying becomes inexpensive: hierarchy membership can be tested by comparing these numbers. Updating requires renumbering and is therefore expensive., (*3)

The Versions

24/01 2017

dev-master

9999999-dev

Nested Set Model for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar chen

database laravel nested sets

24/01 2017

0.1.0

0.1.0.0

Nested Set Model for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar chen

database laravel nested sets