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

Tree Laravel Package

bluem/tree

bluem/tree is a PHP library for building and manipulating hierarchical tree structures from flat, parent-child data. It offers node traversal, filtering, and rendering helpers, making it useful for categories, menus, and other nested data in Laravel or plain PHP projects.

Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
fico7489/laravel-eloquent-join 0.86 Laravel Eloquent Join adds SQL JOIN support to Eloquent models and relationships, letting you sort, filter, and query joined tables directly while keeping familiar query builder syntax. It simplifies complex relationship queries and helps avoid extra queries. 338 — 87 — 11 7.6 4.1 MIT 1 year ago
gzero/eloquent-tree 0.85 — 131 134 21 299 2 3.2 7.1 MIT 8 years ago
View on GitHub
baril/bonsai 0.85 Closure Table pattern implementation for Laravel Eloquent that lets you store and query tree-like structures in a relational database. Provides fast ancestor and descendant lookups across all supported DBMSs, migration artisan commands, and an alternative to nested sets. 36 36 0 2K 0 16.2 25.0 — 4 months ago
View on GitHub
goutte/tree-bundle 0.85 A Symfony bundle for building and managing hierarchical tree structures, with Doctrine integration, nested-set support, and utilities for rendering, traversing, and manipulating trees in PHP applications. 3 3 1 0 0 0.0 — NOASSERTION —
View on GitHub
pvsaintpe/ltree-bundle 0.84 pvsaintpe/ltree-bundle is a Symfony bundle for integrating PostgreSQL ltree with Doctrine, enabling hierarchical tree data storage, path-based queries, and practical tree management for PHP applications. 10 — 6 — 2 0.9 — — 5 years ago
View on GitHub
andydefer/domain-structures 0.84 A Laravel/PHP package that provides reusable domain structures and building blocks for domain-driven design. It helps organize business logic, reduce boilerplate, and keep core rules isolated from framework and infrastructure concerns for cleaner, more maintainable applications. 0 0 0 2K 0 0.0 46.3 MIT —
View on GitHub
staudenmeir/laravel-adjacency-list 0.84 Laravel Eloquent extension that adds recursive relationships for tree and graph structures using common table expressions (CTEs). Traverse categories, page hierarchies, nested comments, and more across MySQL, PostgreSQL, SQLite, SQL Server, and MariaDB. 1,578 1,579 113 469K 5 40.6 40.8 MIT 1 month ago
View on GitHub
Context7
fisharebest/algorithm 0.84 A small PHP library of reusable algorithm implementations, including Dijkstra shortest-path and topological sorting, for graph traversal, dependency ordering, and routing tasks in Laravel or any Composer-based PHP project. 71 — 23 — 3 2.0 1.1 GPL-3.0 —
baum/baum 0.84 Baum adds Nested Set trees to Laravel’s Eloquent ORM, enabling fast, non-recursive queries like fetching all descendants in one query. Ideal for ordered hierarchies such as menus, categories, and threaded posts, while handling complex inserts/moves/deletes automatically. 2,217 2,252 445 31K 129 44.4 40.6 MIT —
View on GitHub
doctrine/phpcr-odm 0.84 Doctrine PHPCR ODM maps PHP objects to a PHPCR content repository, bringing Doctrine-style object-document mapping, unit of work, and repositories to PHP content management systems. It supports hierarchical, versioned content storage and integrates with Jackrabbit and Doctrine DBAL implementations. 181 181 102 11K 56 37.6 49.8 MIT 7 months ago
View on GitHub
redcode/tree-bundle 0.84 RedCode TreeBundle adds hierarchical tree support to Symfony and Doctrine entities, making it easy to model and manage nested data such as categories, menus, and pages. It provides tree-aware entity handling, ordering, and integration with the Symfony framework. 30 30 19 20 4 1.7 3.7 MIT —
View on GitHub
kingmaker/laravel-many-to-many-self-relationship 0.83 A Laravel Eloquent package for many-to-many self-referential relationships like followers/following, friends, or related models. It provides a reusable trait for managing pivot records, inverse relations, and attach/detach-style operations cleanly. 18 19 2 8K 1 0.3 36.0 — —
View on GitHub
everyman/neo4jphp 0.83 Neo4jPHP is a PHP wrapper for the Neo4j graph database REST API. Connect to a Neo4j server, inspect server info, and work with graph data and Cypher queries via a simple client. Installable via Composer. 533 537 134 706 28 15.9 17.8 NOASSERTION —
View on GitHub
trilote/baum 0.83 — 0 0 0 2K 0 0.0 44.7 MIT —
View on GitHub
aimeos/laravel-nestedset 0.83 Laravel nested set package for storing and querying hierarchical data as trees. Adds tree support to Eloquent models with fast ancestor, descendant, sibling, and depth queries via left/right indexes, plus simple APIs for moving nodes and rebuilding trees. 39 — 1 — 0 0.2 — — —
staudenmeir/eloquent-param-limit-fix-x-laravel-adjacency-list 0.83 Bridge package that lets staudenmeir/laravel-adjacency-list work with the eloquent-param-limit-fix, avoiding database parameter limits when recursive adjacency list queries generate large numbers of bindings. 11 11 0 49 0 6.7 10.3 MIT 8 months ago
View on GitHub
gazsp/baum 0.83 — 130 133 38 2K 19 7.8 22.5 MIT 6 years ago
View on GitHub
yajra/baum 0.83 yajra/baum adds nested set trees to Laravel Eloquent, so you can store and query hierarchical data like categories and menus. Create, move, and reorder nodes and fetch ancestors, descendants, and siblings efficiently through an intuitive ActiveRecord-style API. 6 7 1 2 0 0.1 1.5 MIT —
View on GitHub
kalnoy/nestedset 0.83 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. 3,802 3,842 476 572K 196 55.4 52.8 — 1 year ago
View on GitHub
eghamat24/database-repository 0.83 A Laravel package that adds a database repository layer for wrapping Eloquent queries in reusable repository classes. It helps keep models and controllers clean, reduces duplicated query logic, and makes data access more organized, consistent, and testable for common database operations. 19 — 9 — 4 1.7 0.8 — 1 year ago
View on GitHub
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.
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment