laravel-ide-helper-eloquent maintained by ngmy
Description
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.
Author
Last update
2026/02/22 15:23
(dev-master)
License
Downloads
7 502
Tags
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()andcreate()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
- https://github.com/bmewburn/vscode-intelephense/issues/708
- https://github.com/barryvdh/laravel-ide-helper/issues/1395
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.