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.

Installs: 7 500

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

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

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.