Hello,
I tried many plugins of PHP server, including Prevu, SideEnhancements and SublimeServer.
I know "cmd": "php", "-l", "$file".
But instead of “-l”, I want “-S”, because it allows to command as if you command “php -S localhost:anynumber anyfile.php” in the terminal and to open automatically in browser, without depending on XAMPP.
See the example of https://atom.io/packages/php-server.
This package finds the path of php, configures the localhost and any number you choose, then commands “php -S localhost:anynumber” and opens automatically in browser, without needing to enable XAMPP.