Weave Code
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

Nestedset Laravel Package

kalnoy/nestedset

Laravel Eloquent implementation of the Nested Set model for storing hierarchical data. Manage trees with fast reads: add, move, delete nodes, retrieve ancestors/descendants, build menus, and handle multiple roots with scoped trees, all via familiar model methods.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables rapid implementation of hierarchical data structures (e.g., e-commerce categories, navigation menus, comment threads) with optimized read performance for subtree queries
  • Eliminates custom development risks through a battle-tested solution with 3.7k+ GitHub stars and active maintenance, accelerating feature delivery by 30-50%
  • Supports multi-tenant architectures via scoping (e.g., storing separate trees per company in a single table)
  • Facilitates complex frontend interactions (e.g., drag-and-drop UIs) through efficient tree rebuilding from JSON payloads using rebuildFromTree()

When to Consider This Package

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.
redaxo/debug
redaxo/test
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder