1.到github下载yaf框架的doc

下载链接

https://github.com/elad-yosifon/php-yaf-doc/archive/master.zip

 

2.解压zip包

3.phpstorm配置

打开phpstorm开发工具,找到Preferences...->php->Include Path:

如何在phpstorm中查看yaf框架源码

 

4.点击下方的+号,将上面解压后的目录添加到Include Path点击保存:

如何在phpstorm中查看yaf框架源码

 

5.验证一下配置是否成功

比如打开项目中的index.php入口文件:

如何在phpstorm中查看yaf框架源码

 

按住Ctrl键同时点击yaf框架的类Yaf_Application,如果能进去说明配置成功:

如何在phpstorm中查看yaf框架源码

 

相关文章:

  • 2021-10-27
  • 2021-07-07
  • 2021-11-04
  • 2021-09-02
  • 2021-04-02
  • 2021-07-24
  • 2021-05-28
  • 2021-06-15
猜你喜欢
  • 2021-06-20
  • 2021-10-08
  • 2022-12-23
  • 2022-01-27
  • 2021-04-19
  • 2021-11-04
  • 2022-01-08
相关资源
相似解决方案