This is my global configuration for PhpStorm, my favorite IDE for PHP. I have some custom configuration for code styling, inspections and file templates, and I use Git to track these configuration files and to synchronize them between workstations. The code style rules are based on PSR-1, PSR-2 and PSR-12 (which is still a proposal) but I also added some things that are not specified in the PSR guidelines. Feel free to use or fork this repository. Note that I use PhpStorm 2018.1. I cannot guarantee compatibility with other versions of PhpStorm.