Registry / orm / kalnoy-nestedset

kalnoy-nestedset

JSON →
library7.0.1phppackagistunverified

Nested Set Model for Laravel 5.7 and up

composer require kalnoy/nestedset
INSTALL
IMPORT
SIG · KALNOY-NESTEDSET
K
kalnoy-nestedset
ormphpv7.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

NodeTrait
use Kalnoy\Nestedset\NodeTrait;

Use the NodeTrait in an Eloquent model to enable nested set behavior.

<?php use Kalnoy\Nestedset\NodeTrait; class Category extends Model { use NodeTrait; }
Debug
Known issues
breakingRequires Laravel 5.7 or higher; may not work with older versions.
fix
Upgrade Laravel to 5.7+ or use an older version of the package.
affects: <5.7
Upgrade
Version history
7.0.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
32
OpenAI (training)
1
Resources
kalnoy-nestedset — pip install kalnoy-nestedset · libregistry