Integrate Phan in PHPStom
- Install Phan in your project using Composer, it should create the script
vendor/bin/phan, otherwise install it the way you want and hack the
- Install script
run-phan (see at the bottom of this page) on your system (I decided to put it at
- In PHPStorm, go in Settings > Tools > External Tools, add a new tool and provide the parameters:
- Working directory:
- Check "Open console for tool output"
- Output filters:
- You can now use it from Tools > External Tools > Phan (or assign it a shortcut)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters