ngmy/laravel-ide-helper-eloquent

Laravel IDE Helper Eloquent generates new IDE Helper files and updates the existing standard IDE Helper files generated by Laravel IDE Helper to enhance autocompletion for Eloquent.
7,502
Install
composer require ngmy/laravel-ide-helper-eloquent
Latest Version:0.4.0
PHP:^8.2
License:MIT
Last Updated:Feb 22, 2026
Links: GitHub  ·  Packagist
Maintainer: ngmy

Laravel IDE Helper Eloquent

Laravel IDE Helper Eloquent generates new IDE Helper files and updates the existing standard IDE Helper files generated by Laravel IDE Helper to enhance autocompletion for Eloquent.

Features

  • Enables autocompletion for QueryBuilder methods like find() and create() on models in IDEs/editors that do not support @mixin, such as the free version of Intelephense.
  • Enables autocompletion for the scoped() method provided by mpyw/laravel-local-class-scope.

Motivation

Installation

composer require --dev ngmy/laravel-ide-helper-eloquent

Usage

First, generate the IDE Helper files using Laravel IDE Helper:

php artisan ide-helper:generate
php artisan ide-helper:models -N

Then, generate new IDE Helper files and update existing IDE Helper files using Laravel IDE Helper Eloquent:

php artisan ide-helper:eloquent-helpers

Changelog

Please see the changelog.

License

Laravel IDE Helper Eloquent is open-sourced software licensed under the MIT license.

Related Packages

barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve...

141,849,364 14,962
gkarman/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve...

1,990 0
laravel2580/idehelpers

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve...

31 0
wangjingchun/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve...

17 0
soyhuce/next-ide-helper

Laravel ide helper rebuilt under steroids

65,548 48