Emacs Php

Eglot & PHP & Phpactor

Trying out eglot at the moment on a php project I have and unfortunately it doesn’t work out of the box.

The issue is that my PHP project is based on PHP8 and php-language-server is pretty old server that doesn’t support new php versions.

There are bunch of other LSPs for PHP and I would like to play with Phpactor which I never used before.

Fortunately eglot supports any LSP server and Phpactor has one too.