Here is a configuration I used during a quality audit for the Meza projecta large installed base of extensions
{{Collapsible
| visible_text= sample configuration for testing many extensions
editorUrlTitle: '%%relFile%%:%%line%%'
# phpVersion: 70400 # PHP 7.4
## Target a particular PHP version for compliance (really only works if your analysis is running that version)
phpVersion: 80100 # PHP 8.1
level: 9
</syntaxhighlight>
}}
PHPStan offers many '[https://phpstan.org/user-guide/output-format output formats]' (and you can write your own too). The 'raw' format is probably most like what you get from [[Phan]]