cline/ancestry
Closure table hierarchies for Laravel Eloquent. Manage deep trees (org charts, categories) with O(1) ancestor/descendant queries, fluent APIs, configurable keys/types, events, and snapshots for point-in-time hierarchy state.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| gazsp/baum | 0.86 | — | 130 | 133 | 38 | 2K | 19 | 7.8 | 22.6 | MIT | 6 years ago | |
| baum/baum | 0.85 | 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 | — | |
| trilote/baum | 0.85 | — | 0 | 0 | 0 | 2K | 0 | 0.0 | 44.7 | MIT | — | |
| typicms/nestablecollection | 0.84 | — | 88 | 91 | 28 | 5K | 2 | 17.6 | 25.6 | MIT | 7 months ago | |
| paxha/laravel-recursive-relationships | 0.84 | Laravel package for defining and working with recursive relationships in Eloquent models—query parent-child hierarchies, trees, and nested structures with ease. (Approx 160 chars - need closer to 300) Let me expand to ~300 chars: Laravel package for defining and querying recursive relationships in E... | 27 | 27 | 5 | 898 | 1 | 0.4 | 21.0 | MIT | 5 years ago | |
| znck/belongs-to-through | 0.83 | — | 1,269 | 605 | 97 | 637 | 0 | 24.6 | 2.6 | MIT | 8 months ago | |
| staudenmeir/laravel-adjacency-list | 0.83 | 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 | 476K | 6 | 40.7 | 41.3 | MIT | 1 month ago | |
| phoenix/eloquent-meta | 0.83 | — | 56 | 60 | 23 | 15 | 1 | 3.1 | 1.0 | MIT | 7 years ago | |
| nevadskiy/laravel-tree | 0.83 | — | 70 | 70 | 7 | 22K | 5 | 6.3 | 36.1 | MIT | 1 year ago | |
| umbrellio/laravel-ltree | 0.83 | Laravel integration for PostgreSQL ltree that brings hierarchical tree data to Eloquent models. Provides migrations, path helpers, and query scopes for ancestors, descendants, and subtree traversal, making tree-structured data easy to store and search. | 35 | 35 | 13 | 1K | 1 | 1.3 | 23.3 | MIT | 1 year ago | |
| kirkbushell/eloquence | 0.83 | — | 574 | 579 | 56 | 39K | 2 | 5.9 | 25.3 | MIT | 1 year ago | |
| phl/laravel-sti | 0.82 | phl/laravel-sti brings Single Table Inheritance to Laravel Eloquent. Map multiple model subclasses to one database table using a type column, with automatic class resolution, scoped queries, and familiar Eloquent relationships and behavior for cleaner hierarchical models instead of separate tables. | 17 | 17 | 0 | 0 | 1 | 0.2 | — | MIT | 6 years ago | |
| kingmaker/laravel-many-to-many-self-relationship | 0.82 | 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 | — | — | |
| lychee-org/nestedset | 0.82 | Lychee's Nested Set package brings the nested set model to Laravel's Eloquent, so you can store and query hierarchical data—trees, categories, menus—with fast ancestor and descendant lookups and an expressive API for creating, moving, and traversing nodes. | 1 | 1 | 2 | 10K | 0 | 18.2 | 59.1 | — | 1 month ago | |
| nicmart/tree | 0.82 | A flexible PHP tree data structure with a fluent builder API. Create nodes with any value, add or remove children, manage parents automatically, and build hierarchies easily for menus, categories, and nested data. | 574 | 586 | 61 | 912K | 5 | 27.8 | 52.4 | MIT | 1 month ago | |
| jobmetric/laravel-membership | 0.82 | Laravel Membership by Jobmetric provides a flexible foundation for managing plans, subscriptions, and member access in your PHP applications. Define membership tiers, attach features or permissions, track activation and expiration, and integrate membership checks cleanly into your Laravel models and... | 7 | 7 | 0 | 95 | 0 | 0.3 | 15.3 | MIT | 2 years ago | |
| masterfri/laravel-smart-relations | 0.82 | Laravel Smart Relations streamlines Eloquent relationship management in Laravel with smarter helpers and conventions for defining, querying, and working with model relations, reducing boilerplate and keeping model code cleaner and easier to maintain. | 6 | — | 1 | — | 0 | 0.4 | — | — | 7 years ago | |
| jiaxincui/closure-table | 0.82 | Closure table implementation for Laravel Eloquent models, adding fast hierarchical tree queries and operations—ancestors, descendants, siblings, moving nodes—without recursive queries. Simple trait integration with support for multiple trees. | 111 | 113 | 22 | 89 | 0 | 25.6 | 4.0 | MIT | 1 month ago | |
| reedware/laravel-relation-joins | 0.82 | — | 212 | 212 | 22 | 87K | 3 | 20.4 | 39.2 | MIT | 6 months ago | |
| modularsoftware/laravel-gedcom | 0.82 | Laravel package for reading and parsing GEDCOM genealogy files. It loads GEDCOM data into an object-oriented model of individuals, families, events, and sources, making it easy to work with family-history records inside your Laravel application. | 22 | — | 12 | — | 2 | 1.2 | — | MIT | 3 years ago |
How can I help you explore Laravel packages today?