Added php-formatter dependency

* Also added .formatter.yml file
* Applied script and sorted Use statements