php-language-server icon indicating copy to clipboard operation
php-language-server copied to clipboard

Abandonware question

Open thwaller opened this issue 4 years ago • 5 comments
trafficstars

It seems that many users of this extension have reported issues and tried pull requests that have gone ignored for some years now. I cannot speak for all, but the php-language-server will not even run anymore on VSCode Insiders 1.55, March 2021.

Assuming this project is simply no longer maintained, has anyone done a fork to keep this current, or aware of any good alternatives?

I use the PHP IntelliSense extension, which is where I have use of this repo. Given that there are 5 million+ users, I assume someone has noticed the issues and found some sort of solution?

thwaller avatar Mar 11 '21 07:03 thwaller

If it truly is abandonware, there is the closed source Intelephense: https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client

I have had much better experience with it personally, as well.

m50 avatar Mar 17 '21 19:03 m50

Shocking to me that an extension with such a large user base would just die off, but it has become unusable. I noticed that extension, but was reluctant as it is a freemium product and closed as you mentioned. I might give it a go.

thwaller avatar Mar 17 '21 21:03 thwaller

Intelephense may be freemium but the free version is quite comphrensive in my opinion. And the premium version is $10 for LIFE which is really quite reasonable these days I think.

kczx3 avatar Mar 24 '21 01:03 kczx3

For those looking for an open-source PHP LSP solution there is phpactor, which works great for me.

I can't tell though how good it is in vscode, as I'm not using it there. I'm only aware that there is not published extension available here https://github.com/phpactor/vscode-phpactor

lumnn avatar Apr 30 '21 13:04 lumnn

I've had some success using serenata and Sublime-LSP on Windows since phpactor doesn't support Windows path URIs yet, see: https://github.com/phpactor/phpactor/issues/564#issuecomment-729447765

     {
        "serenata":
        {
            "enabled": false,
            "command": [
                "php",
                "-d",
                "memory_limit=1024M",
                "${packages}/User/serenata.phar",
                "--uri=tcp://127.0.0.1:4538"
            ],
            "tcp_port": 4538,
            "languageId": "php",
            "scopes": ["source.php", "embedding.php"],
            "syntaxes": ["Packages/PHP/PHP.sublime-syntax"]
        },

I've put the serenata.phar inside my Sublime Text Settings User folder.

apfelchips avatar Apr 30 '21 16:04 apfelchips