PHPackages                             mpyw/eloquent-has-by-non-dependent-subquery - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. mpyw/eloquent-has-by-non-dependent-subquery

AbandonedLibrary[Database &amp; ORM](/categories/database)

mpyw/eloquent-has-by-non-dependent-subquery
===========================================

Convert has() and whereHas() constraints to non-dependent subqueries.

v2.0.3(3y ago)84500.3k↓24.6%1MITPHP ^7.3 || ^8.0

Since Jun 28Compare

[ Source](https://github.com/mpyw/eloquent-has-by-non-dependent-subquery)[ Packagist](https://packagist.org/packages/mpyw/eloquent-has-by-non-dependent-subquery)[ RSS](/packages/mpyw-eloquent-has-by-non-dependent-subquery/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (7)Versions (10)Used By (1)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/mpyw/eloquent-has-by-non-dependent-subquery).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity46

Moderate usage in the ecosystem

Community5

Small or concentrated contributor base

Maturity66

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~93 days

Recently: every ~161 days

Total

9

Last Release

1404d ago

Major Versions

v1.1.1 → v2.0.02021-01-25

PHP version history (3 changes)v1.0.0PHP ^7.1

v1.1.1PHP ^7.1 || ^8.0

v2.0.0PHP ^7.3 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1351893?v=4)[mpyw](/maintainers/mpyw)[@mpyw](https://github.com/mpyw)

---

Tags

laraveldatabaseeloquentquerybuilderilluminatemacrodependentwhereHashas

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mpyw-eloquent-has-by-non-dependent-subquery/health.svg)

```
[![Health](https://phpackages.com/badges/mpyw-eloquent-has-by-non-dependent-subquery/health.svg)](https://phpackages.com/packages/mpyw-eloquent-has-by-non-dependent-subquery)
```

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k7.2M71](/packages/mongodb-laravel-mongodb)[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[mpyw/laravel-local-class-scope

A tiny macro that reuse a global scope class as a local scope

24102.6k](/packages/mpyw-laravel-local-class-scope)[spiritix/lada-cache

A Redis based, automated and scalable database caching layer for Laravel

591444.8k2](/packages/spiritix-lada-cache)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[mehdi-fathi/eloquent-filter

Eloquent Filter adds custom filters automatically to your Eloquent Models in Laravel.It's easy to use and fully dynamic, just with sending the Query Strings to it.

450191.6k1](/packages/mehdi-fathi-eloquent-filter)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
