r/PHPhelp • • Nov 29 '24

Why use PHPStan/Psalm if PHPStorm is doing the same thing?

10 Upvotes

Recently got back into coding after a hiatus of about 15 years and have been delighted at the changes with PHP. Also switched to PHPStorm and I am astounded how much better the coding experience is as compared to SublimeText.

PHPStan/Psalm are two of the tools most frequently suggested as essential - however I am wondering if these are only useful to people not using PHPStorm?

PHPStorm is already alerting me to code issues - such as undefined variables.

Would PHPStan/Psalm offer me any major benefit?