
Checking relationship existence (or non-existence) in Laravel Eloquent
These Eloquent methods are efficient and expressive. They let you easily filter by relationship existence with or without further constraint all within the query builder.
Back