如何在intellij idea中安装php插件?

How to install php plugin in intellij idea?

我正在尝试在 intellij idea 中安装 php 插件,一个插件安装成功,并且它在控制器和模型上工作,但是如何连接 ctp 文件。

进入 intellij idea 的设置,然后打开 php 的文件扩展名,然后添加 *.cyp & *.ctp ,现在你的 ctp 文件将开始工作。

  1. 转到文件选项卡
  2. Select 设置...选项
  3. 转到插件 enter image description here

  4. 在搜索选项卡上搜索php然后安装jetbrains提供的php扩展并重启intellij

  5. 然后你会找到php文件或class