定制 ngmy/laravel-ide-helper-eloquent 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-21