如何在intellij idea中安装php插件


How to install php plugin in intellij idea?

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

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

  1. 转到"文件"选项卡
  2. 选择设置。。。选项
  3. 转到插件在此处输入图像描述

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

  5. 然后您将找到php文件或类