Examples (7)
Generate a `.phan/config.php` in the current directory
phan --initGenerate a Phan configuration file using a specific level (1 being strictest to 5 being the least strict)
phan --init --init-level levelAnalyze the current directory
Analyze one or more directories
phan --directory path/to/directory1 --directory path/to/directory2 ...Specify a configuration file (defaults to `.phan/config.php`)
phan --config-file path/to/config.phpSpecify the output mode
phan --output-mode text|verbose|json|csv|codeclimate|checkstyle|pylint|htmlSpecify the number of parallel processes
phan --processes number_of_processesmade by @shridhargupta | data from tldr-pages