laravel-ide-helper裝了沒反應哈

來源:互聯網
上載者:User
laravel-ide-helper三步都做了,facade沒提示哈

回複內容:

laravel-ide-helper三步都做了,facade沒提示哈

查看項目根目錄有沒有_ide_helper.php檔案

你是按照官方文檔做的嗎?

請參考 https://github.com/barryvdh/laravel-ide-helper 中作者給的操作步驟,切勿學網上雜七雜八的文章操作。

三步驟是不是:安裝 ==> 加入至 service providers ==> artisan 命令執行產生

如果不是,請正確執行。

若正確執行依舊有問題,請強制重新整理 phpstorm,有可能是 phpstorm 沒載入。

直接下載檔案 https://gist.github.com/barryvdh/5227822 放到項目中就可以了,雖然版本有差異,但是用法差不多的,夠用了

  1. 使用composer 安裝後

  2. 在 config/app.php 檔案內添加服務提供者

  3. 使用artisan 命令組建檔案
    請重新整理IDE的目錄結構查看是否已經存在。

  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.