Laravel Eloquent Relationships | Guide on Laravel Eloquent Relationships
Cosme Escobedo on Twitter: " Laravel Tip: Eager load and filter by a nested relationship. If you need to filter a model by a nested relationship and are also eager load both of the relationships you can create a closure that takes care of the logic and pass it to ...