ngmy/laravel-ide-helper-eloquent
最新稳定版本:0.2.0
Composer 安装命令:
composer require --dev ngmy/laravel-ide-helper-eloquent
包简介
Laravel IDE Helper Eloquent generates a stub file to enable autocompletion for QueryBuilder methods on models in IDEs/editors that do not support @mixin.
关键字:
README 文档
README
Laravel IDE Helper Eloquent generates an Eloquent stub file that renames the Eloquent to Illuminate\Database\Eloquent\Model
in the _ide_helper.php file generated by Laravel IDE Helper.
It 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.
Motivation
bmewburn/vscode-intelephense#708
Installation
composer require --dev ngmy/laravel-ide-helper-eloquent
Usage
First, generate the IDE Helper file using Laravel IDE Helper:
php artisan ide-helper:generate
Then, generate the Eloquent stub file using Laravel IDE Helper Eloquent:
php artisan ide-helper:eloquent-stub
Changelog
Please see the changelog.
License
Laravel IDE Helper Eloquent is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 7.5k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-01-21