GitHub repository: Iconscout/eloquent-has-by-non-dependent-subquery
Description: Convert has() and whereHas() constraints to non-dependent subqueries.