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.

Maintainers

Package info

github.com/ngmy/laravel-ide-helper-eloquent

pkg:composer/ngmy/laravel-ide-helper-eloquent

Statistics

Installs: 7 502

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.4.0 2026-02-22 14:23 UTC

This package is auto-updated.

Last update: 2026-02-22 14:25:17 UTC


README

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.