staudenmeir/laravel-adjacency-list
Eloquent extension that adds recursive relationships for trees (one parent) and graphs (many parents) using SQL common table expressions. Traverse ancestors/descendants and other hierarchies across MySQL, MariaDB, Postgres, SQLite, and SQL Server.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| creocoder/yii2-nested-sets | 0.82 | Yii2 Nested Sets Behavior implementing the Modified Preorder Tree Traversal algorithm for hierarchical data. Adds ActiveRecord behavior and query helpers for inserting, moving, and deleting nodes, with optional multi-tree support via a tree attribute. | 445 | 450 | 124 | 47K | 35 | 36.9 | 48.6 | NOASSERTION | 11 years ago | |
| staudenmeir/eloquent-has-many-deep | 0.81 | Extend Eloquent’s HasManyThrough to traverse unlimited intermediate models. Define deep relationships by concatenating existing relations or manually specifying models/keys. Supports many-to-many, polymorphic relations, and combinations, plus some third‑party packages. | 2,857 | 2,860 | 159 | 535K | 2 | 49.4 | 37.0 | MIT | 3 weeks ago | |
| kalnoy/nestedset | 0.80 | 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,791 | 3,826 | 484 | 328K | 192 | 75.6 | 66.6 | — | 10 months ago | |
| staudenmeir/eloquent-json-relations | 0.79 | Adds JSON foreign key support to Laravel Eloquent relationships (belongsTo, hasMany, morph*, through). Also enables many-to-many and has-many-through relations using JSON arrays (IDs or objects) across MySQL, Postgres, SQLite, SQL Server. | 1,076 | 1,080 | 64 | 206K | 7 | 38.2 | 39.4 | MIT | 1 month ago |
How can I help you explore Laravel packages today?