Announcing Psalm 4

October 21, 2020 by Matt Brown - 1 minute read

Psalm 4 loves PHP 8

I’m really happy to announce the release of Psalm 4. If you’re unfamiliar with Psalm, it’s a free & open-source static analysis tool that helps you identify problems in PHP.

It’s been almost two years since Psalm 3 was released, and a lot has happened. The PHP world has embraced static analysis in a big way – Psalm itself is over 15 times more popular. There's also a fantastic community of contributors ticketing bugs, submitting PRs and generally helping to make Psalm a really useful, well-tested tool.

PHP has changed too, with a big release – PHP 8 – coming out in five weeks’ time. I’ve spent the last few months making sure that Psalm 4 supports all the awesome new PHP 8 features.

Psalm 4 also has much better unused variable detection and it's faster, by default.

Give it a whirl, and let me know what you think!