Also announcing the public beta of Psalm v7, with up to 10x performance improvements for security analysis, a new combined analysis mode and much more!
blog.daniil.it/2025/07/10/ps…
I've also contributed the underlying deepbind patch to upstream PHP, and it will be available for everyone to use in PHP 8.5!
github.com/php/php-src/pull/…
Announcing a new series of blogposts about Psalm v6's innovative performance improvements!
Starting with Psalm 6.1 Deep Dive: Copy-on-Write dynamic task dispatching: blog.daniil.it/2025/05/11/ps…
Psalm 5 is out! To symbolise this tremendous group effort we've translated the announcement into all the languages of Psalm's maintainers: psalm.dev/articles/psalm-5
If people want PHP generics then someone should create an RFC for erased-at-runtime generics. Erased-at-runtime types in PHP would be an insurmountable language shift for some voters, but maybe there’s enough support to carry it through.
All the major static analysis tools would quickly adapt, and there’s precedent in Python, which added support for type-erased generics (without a bundled typechecker to accompany that change).
It’s very unlikely that generics would be The Thing That Finally Makes Doubters Take PHP Seriously. But support for generics in PHP syntax (vs docblocks) would make a lot of code a little more beautiful than it is today.
Wrote a @psalmphp plugin to ensure I'm marking classes as final properly. If a concrete class does need to be inherited you can mark it with an Attribute to suppress the error.
#phpgithub.com/cspray/phinal
Done and done. phpcs applies my coding standard consistently and psalm statically analyzes codebase to make sure all types are correct. 99.5035% type safe according to psalm.
👋 We're hiring a Senior Software Engineer in Berlin or remote! 💻 Build high-quality supply chain tools for thousands of devs in the PHP ecosystem 🐘 with the makers of #composerphp#php#phpc
While most of the work on Psalm is about getting it understand your code right, there's a place for UI improvements as well.
There are several that are either already shipped or coming soon:
1. Psalm now linkifies files in supporting terminals (thanks to @gregorharlan)
While most of the work on Psalm is about getting it understand your code right, there's a place for UI improvements as well.
There are several that are either already shipped or coming soon:
1. Psalm now linkifies files in supporting terminals (thanks to @gregorharlan)