flynsarmy/wn-idehelper-plugin

Winter CMS 插件,通过提供 IDE 辅助来简化开发过程

dev-master 2021-08-05 06:46 UTC

This package is auto-updated.

Last update: 2024-09-09 07:36:09 UTC


README

此插件为 October 添加了 barryvdh/ide-helpers 包,以提供更好的 IDE 支持。

安装

通过 Composer

  • 将仓库添加到 composer.json
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/Flynsarmy/wn-idehelper-plugin"
        }
    ],
  • composer require --dev flynsarmy/wn-idehelper-plugin "dev-master"

手动

  • git clone 命令执行到 /plugins/flynsarmy/idehelper
  • composer install
  • php artisan ide-helper:generate

配置

无需配置,但若要使用 php artisan ide-helper:models,可能需要编辑 /config/config.php 以包含您希望扫描的模型文件。

待办事项

  • 更新后自动清除编译/生成/优化