I gave the new (alpha release) PHP formatter in the Prettier suite a try:

https://prettier.io/blog/2018/04/09/plugin-php-0.1.html

Prettier is a popular package for Javascript and other languages, and it has a package to integrate with Sublime Text.  To get started, I installed the package globally:

npm install --globally prettier/prettier prettier/plugin-php

and tried it on some of our Internal Transfer code with

prettier filename.php --write

I quickly found some formatting errors with embedded <?php ?> tags, and found the problem I ran into was already in the issue queue.  This package looks  promising, but it’s not at all ready for production work at this time.