Php-language-server: Abandonware question

Created on 11 Mar 2021  路  5Comments  路  Source: felixfbecker/php-language-server

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?

Most helpful comment

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.

All 5 comments

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.

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.

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.

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

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

felixfbecker picture felixfbecker  路  4Comments

felixfbecker picture felixfbecker  路  4Comments

samurai00 picture samurai00  路  5Comments

Jarzebowsky picture Jarzebowsky  路  8Comments

cweagans picture cweagans  路  9Comments