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

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

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

ngmy/laravel-ide-helper-eloquent

最新稳定版本:0.4.0

Composer 安装命令:

composer require --dev 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.

README 文档

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.

统计信息

  • 总下载量: 7.5k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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