paxha/laravel-recursive-relationships
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...
paxha/laravel-recursive-relationships adds self-referencing, recursive relationships to your Laravel Eloquent models. Define a parent/child hierarchy once and traverse it in either direction — ideal for category trees, comment threads, org charts, and any nested data set.
class Category extends Model {
use RecursiveRelationships;
}
How can I help you explore Laravel packages today?