Sublime TextΒΆ

Install Phpactor with Global Installation then navigate to Preferences > Package Settings > LSP > Settings and add the Phpactor language server configuration as follows:

"clients":
    {
            "phpactor":
            {
                    "command":
                    [
                            "phpactor",
                            "language-server",

                    ],
                    "enabled": true,
                    "languageId": "php",
                    "scopes":
                    [
                            "source.php",
                            "embedding.php"
                    ],
                    "syntaxes":
                    [
                            "Packages/PHP/PHP.sublime-syntax"
                    ]
            }
}