Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Nestedset

Laravel Nestedset Laravel Package

arcanedev/laravel-nestedset

Laravel Nested Set offers an efficient way to store and query hierarchical data using the nested set model, with a fluent API for creating, moving, and traversing trees and fast ancestor/descendant lookups without recursive queries.

View on GitHub
Deep Wiki
Context7

arcanedev/laravel-nestedset brings the nested set model to Laravel's Eloquent ORM, letting you store and query hierarchical data—categories, menus, comments—directly in a flat database table. Nodes carry lft and rgt boundary columns, so entire trees and ancestor/descendant relationships are retrieved with a single, efficient query instead of recursive lookups.

  • Trait-based integration with any Eloquent model
  • Fetch ancestors, descendants, siblings, and roots
  • Move, insert, and delete nodes while keeping boundaries valid
  • Ordered scopes and query helpers for tree traversal
  • Ideal for deep or frequently read hierarchies
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo