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

Baum Laravel Package

culturalinfusion/baum

Baum is a nested set implementation for Laravel Eloquent, letting you store and query hierarchical data such as categories, menus, and comments as trees. It offers an ordered tree trait with simple methods to create, move, and traverse nodes efficiently.

View on GitHub
Deep Wiki
Context7

Baum is a Laravel package that brings nested set model behavior to your Eloquent models, making it easy to store and query hierarchical data such as categories, menus, and trees. It maintains left/right index columns automatically, so retrieving ancestors or descendants requires a single optimized query instead of recursive lookups.

  • Simple makeChildOf, makeSiblingOf, and moveTo node operations
  • Query descendants, ancestors, siblings, and children in one request
  • Supports multiple scopes for separate trees in the same table
  • Depth, root, and leaf helpers for fast tree filtering
  • Soft-delete and column-name customization
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.
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table