Tools - What and When to use

There is a dozen of tools me and my friends use daily. We save time, effort and automate safety. CI works for us.
We have better sleep and more time for fun work. Yet, you might have missed them.

I made this tiny page to put them all in single place and make it easy to use for everyone. Lazy coding!



Standalone CLI tool

Easy Coding Standard

Why use?

Adds advanced coding standard fast Read more in a post


Best time to start using?

First week when you come to a new project


How to install?


First commands to try


PHPStan extension

Type Coverage

Why use?

Helps you add type declarations 1 % at a time Read more in a post


Best time to start using?

When you reach PHP 7.0+ with scalar types


How to install?


Copy-paste to phpstan.neon

Standalone CLI tool

Class Leak

Why use?

Spots unused classes you can remove Read more in a post


Best time to start using?

When you reach PHPStan level 2


How to install?


First commands to try

PHPStan extension

Unused public

Why use?

Removes unused public code you maintain Read more in a post


Best time to start using?

When you reach PHPStan level 3/4


How to install?


Copy-paste to phpstan.neon

Standalone CLI tool

Composer Dependency Analyser

Why use?

Detect unused dependencies, transitional dependencies, missing classes and more


Best time to start using?

When you reach PHPStan level 2/3


How to install?


First commands to try

Standalone CLI tool

Swiss Knife

Why use?

Finalizes classes without children, makes class constants private and more Read more in a post


Best time to start using?

When you reach PHPStan level 3/4


How to install?


First commands to try


PHPStan extension

Type Perfect

Why use?

Help you remove mixed types from obviously known code Read more in a post


Best time to start using?

When you reach PHPStan level 6


How to install?


Copy-paste to phpstan.neon

Standalone CLI tool

Config Transformer

Why use?

Converts YAML configs to PHP for you Read more in a post


Best time to start using?

When you have Symfony configs in YAML


How to install?


First commands to try