Home  >  Article  >  Development Tools  >  View the yaf framework source code in phpstorm

View the yaf framework source code in phpstorm

藏色散人
藏色散人forward
2021-02-08 16:29:123209browse

The following tutorial column of phpstorm will introduce to you how to view the source code of the yaf framework in phpstorm. I hope it will be helpful to friends in need!

View the yaf framework source code in phpstorm

How to view the yaf framework source code in phpstorm?

1. Go to github to download the doc of the yaf framework

Download link

https://github.com/haxianhe/php-yaf-doc.git

2. Unzip the zip package

3.phpstrom configuration

Open the phpstorm development tool and find Preferences...->php->Include Path:

View the yaf framework source code in phpstorm

4. Click the number below to add the decompressed directory above to the Include Path and click Save:

View the yaf framework source code in phpstorm

5. Verify whether the configuration is successful

For example, open the index.php entry file in the project:

View the yaf framework source code in phpstorm

Hold down the Ctrl key and click on the class Yaf_Application of the yaf framework. If you can enter, the configuration is successful:

View the yaf framework source code in phpstorm

The above is the detailed content of View the yaf framework source code in phpstorm. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete