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

phar

Open drzraf opened this issue 1 year ago • 3 comments

Can't the server be provided as a phar file? Easier to download, run, reuse, move, reference in editor's configuration and probably improved performances (files/memory).

This would apparently bring many benefits.

drzraf avatar Nov 21 '23 17:11 drzraf

Doubt there would be any performance gains. Do you use it with some other editor than vscode?

It would probably be doable, the same way as phpactor does it. https://github.com/phpactor/phpactor/blob/master/.github/build-phar.sh https://github.com/phpactor/phpactor/blob/master/box.json

zobo avatar Nov 27 '23 10:11 zobo

I intend to use it with emacs.

drzraf avatar Nov 27 '23 14:11 drzraf

I understand. I will try to setup a build process, when time permits.

zobo avatar Nov 28 '23 11:11 zobo