PHPackages                             wimski/laravel-ide-helper-hook-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. wimski/laravel-ide-helper-hook-eloquent-has-by-non-dependent-subquery

AbandonedArchivedLibrary

wimski/laravel-ide-helper-hook-eloquent-has-by-non-dependent-subquery
=====================================================================

Add Eloquent Has By Non-dependent Subquery support to Laravel IDE Helper

2.1.0(4y ago)35.2kMITPHPPHP ^7.4 || ^8.0

Since May 7Pushed 4y ago1 watchersCompare

[ Source](https://github.com/wimski/laravel-ide-helper-hook-eloquent-has-by-non-dependent-subquery)[ Packagist](https://packagist.org/packages/wimski/laravel-ide-helper-hook-eloquent-has-by-non-dependent-subquery)[ Docs](https://github.com/wimski/laravel-ide-helper-hook-eloquent-has-by-non-dependent-subquery)[ RSS](/packages/wimski-laravel-ide-helper-hook-eloquent-has-by-non-dependent-subquery/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (10)Versions (5)Used By (0)

Laravel IDE Helper Hook *"Eloquent Has By Non-Dependent Subquery"*
==================================================================

[](#laravel-ide-helper-hook-eloquent-has-by-non-dependent-subquery)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![GitHub Tests Action Status](https://camo.githubusercontent.com/88c74d3b7ac3b0407daddc8d2adcd23382937ce633ed25ef052ee1bd83550371/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f77696d736b692f6c61726176656c2d6964652d68656c7065722d686f6f6b2d656c6f7175656e742d6861732d62792d6e6f6e2d646570656e64656e742d73756271756572792f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/wimski/laravel-ide-helper-hook-eloquent-has-by-non-dependent-subquery/actions?query=workflow%3Arun-tests+branch%3Amaster)[![Coverage Status](https://camo.githubusercontent.com/fadda8de9e4879f18336c5aed5706fbddfdf6ddefd0f61c7bf96c41a516d2d45/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f77696d736b692f6c61726176656c2d6964652d68656c7065722d686f6f6b2d656c6f7175656e742d6861732d62792d6e6f6e2d646570656e64656e742d73756271756572792f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/wimski/laravel-ide-helper-hook-eloquent-has-by-non-dependent-subquery?branch=master)[![PHPStan](https://camo.githubusercontent.com/441b5874ce4df0a2defc892979c96c46889b69cb32119d04f0b48626349f8bc9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d627269676874677265656e2e7376673f7374796c653d666c6174)](https://github.com/phpstan/phpstan)

A Laravel Package for adding [Eloquent Has By Non-Dependent Subquery](https://github.com/mpyw/eloquent-has-by-non-dependent-subquery) support to Laravel IDE Helper [Laravel IDE Helper](https://github.com/barryvdh/laravel-ide-helper).

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require --dev wimski/laravel-ide-helper-hook-eloquent-has-by-non-dependent-subquery
```

The package is loaded using [Package Discovery](https://laravel.com/docs/8.x/packages#package-discovery), when disabled read [Manual Installation](#manual-installation).

Usage
-----

[](#usage)

Run standard model generation commands as normal:

`php artisan ide-helper:models "App\Models\Post"`

Docblocks will be added to the model

```
/**
 * App\Models\Post
 *
 * @method static \Illuminate\Database\Eloquent\Builder|Post doesntHaveByNonDependentSubquery($relationMethod, ...$constraints)
 * @method static \Illuminate\Database\Eloquent\Builder|Post hasByNonDependentSubquery($relationMethod, ...$constraints)
 * @method static \Illuminate\Database\Eloquent\Builder|Post orDoesntHaveByNonDependentSubquery($relationMethod, ...$constraints)
 * @method static \Illuminate\Database\Eloquent\Builder|Post orHasByNonDependentSubquery($relationMethod, ...$constraints)
 */
```

Manual Installation
-------------------

[](#manual-installation)

When disabled, register the `LaravelIdeHelperHookEloquentHasByNonDependentSubqueryServiceProvider` manually by adding it to your `config/app.php`

```
/*
 * Package Service Providers...
 */
 Wimski\LaravelIdeHelperHookEloquentHasByNonDependentSubquery\Providers\LaravelIdeHelperHookEloquentHasByNonDependentSubqueryServiceProvider::class,
```

Testing
-------

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

- [wimski](https://github.com/wimski)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~97 days

Total

4

Last Release

1540d ago

Major Versions

1.0.0 → 2.0.02021-05-08

PHP version history (2 changes)1.0.0PHP ^7.3 || ^8.0

2.0.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/bfe7e708e746b4cb582e1a0d5ab112d153ea4884baddd805c8ba46be7d8d0da1?d=identicon)[wimski](/maintainers/wimski)

---

Top Contributors

[![wimski](https://avatars.githubusercontent.com/u/12373573?v=4)](https://github.com/wimski "wimski (17 commits)")

---

Tags

laravel-ide-helpereloquent-has-by-non-dependent-subquery

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/wimski-laravel-ide-helper-hook-eloquent-has-by-non-dependent-subquery/health.svg)

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

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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