Skip to main content

PHPStan

2023


How I upgraded eight PHP katas

·20 mins
I recently upgrade eight PHP Katas from a minimum PHP 7.3 to a minimum of PHP 8.0. I used Rector, Easy Coding Standard (ECS) and PhpStan to help me. This is how I approached the upgrade and used these tools.

2021


Standard setup for PHP projects 2021

·18 mins
The focus of this blog is to help set up PHP Projects in PhpStorm. I have also included snippets from my side-projects. I hope the information will be useful for other PHP projects. This is a follow-up to my blog Standard Setup for PHP projects from 2020.

2020


Why I enjoy coding Kata's

·2 mins
One of the things that have helped me to learn software development using PHP is coding Katas. I especially enjoyed the Katas by Emily Bache on Github. They offer a safe sandbox environment to play with code and tools. They have good, or should that be not so good, starting code to self-teach techniques for refactoring, testing and object orientated code. In fact, I enjoyed them so much, I have contributed to them!

Standard Setup for PHP projects

·15 mins
Note: This is my standard setup from 2020, a newer version from 2021 is now available Standard setup for PHP projects 2021. The focus of this post if to setup PHP and PhpStorm in a consistant way for each project, with coding standards, static analysis and tests.