Registry / database / baum-baum

baum-baum

JSON →
library1.1.1phppackagistunverified

An implementation of the Nested Set pattern for Eloquent models in Laravel.

composer require baum/baum
INSTALL
IMPORT
SIG · BAUM-BAUM
B
baum-baum
databasephpv1.1.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.

Node
use Baum\Node;

Create a nested set model using Baum.

use Baum\Node; class Category extends Node { // Your model definition } $root = Category::create(['name' => 'Root']); $child = $root->children()->create(['name' => 'Child']);
Debug
Known issues
gotchaRequires Eloquent ORM (Laravel) and may not work with other databases without proper configuration.
fix
Ensure you are using Laravel's Eloquent and have the correct database schema for nested sets.
affects: >=1.0.0
Upgrade
Version history
1.1.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

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