r/PinoyProgrammer • u/rc0604 • Aug 28 '26
Show Case I just wanted to share my open source project
Hello everyone how's your weekdays? I just wanted to share my open project named TypePHP its about Type checking docblock types at runtime. it brings generics, type arrays, etc. You can do it effortlessly without any changes to your codebase. If you use Static Analysis Tools like PHPstan then I think you're gonna love this project.
If you're aware, this is very different from the chinese swoole team's 'TypePHP 'project that has nothing to do with making PHP types better and just making it another compiled language. This one actually focus in bring reified types to PHP and improving Type safety in PHP..
For those curios check the repo and the doc site here:
https://github.com/typephp-php/typephp
https://typephp-php.github.io/docs/
PS: Let's support Filipino Open Source Spirit and Community. If you have any open source project share it and let's help each other.
5
u/Glittering_Bath3848 Aug 28 '26
Saw your previous post on r/PHP , I now heavily use this project in my PHP workflow. It really does give you proper runtime type checking
2
u/Repulsive-Hurry8172 Aug 28 '26
So cool. Thanks for sharing
2
u/TigerCatto Aug 30 '26
Nice!
2
u/Appropriate-Cod7548 Sep 17 '26
Nice! Wanna try this
0
u/[deleted] Aug 28 '26
[deleted] — view deleted comment