OOP is awesome, and most PHP is written that way, but that doesn’t mean we can’t learn good habits and practices from Functional Programming too.
Learn about PHP’s ability to do some FP, how to integrate it into your stack for cleaner code, and more reliable programming. See how we can limit mutations and side effects in your current setup by making small adjustments to your class structures and methods.
Functional Programming can make your code safer, easier to test, and way more confusing – let’s find out how.