staudenmeir/belongs-to-through
Add BelongsToThrough relationships to Eloquent: the inverse of HasManyThrough. Define belongs-to chains across unlimited intermediate models, with support for custom keys, table aliases, and soft deletes. Works with Laravel 5+.
Laravel Eloquent BelongsToThrough relationships
How can I help you explore Laravel packages today?