PHP is very much a dynamically typed language. You can write entire applications without ever so much as type hinting a string.But, if you prefer a stricter approach, there is a tool that makes PHP more akin to TypeScript or Rust - PHPStan! Let me show you the ropes in this short series.
Overview
Syllabus
- Static What Now?
- Installation and First Run
- Ignoring Errors
- Use Phpdocs to Provide Context
- An Introduction to Generics
Taught by
Luke Downing