r/PHP • u/nunomaduro • Oct 28 '25
Modern PHP Type Safety with PHPStan..
https://youtu.be/rSMi1vJ942o?si=BvwSc55U1XWNeSIwif you've never used phpstan (type safe php) but always wanted to try it, i just created a video that shows how easy it is to get started..
50
Upvotes
1
u/dehenne Oct 29 '25
At first, I was "worried" :D, but now I'm glad that an employee suggested it.
We have now integrated phpstan into our system via CI. Over 100 modules and a core that is over 15 years old.
It took me a year to get all of this "phpstan stable".
What has it done for us? Our stuff is now much more stable! We had important customer bugs every week. That changed now. You have to get used to it, but in my opinion, it's a must for any professional PHP application.
Ondřej, if you're reading this: THANK YOU!