Dontar / php-language-server

PHP Implementation of the VS Code Language Server Protocol πŸ†šβ†”πŸ–₯

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP Language Server

Version Build Status Coverage Dependency Status Minimum PHP Version License Gitter

A pure PHP implementation of the Language Server Protocol.

Find all symbols demo

Used by

Contributing

You need at least PHP 7.0 and Composer installed. Clone the repository and run

composer install

to install dependencies.

Run the tests with

vendor/bin/phpunit --bootstrap vendor/autoload.php tests

Command line arguments

--tcp=host:port (optional)

Causes the server to use a tcp connection for communicating with the language client instead of using STDIN/STDOUT. The server will try to connect to the specified address.

Example:

php bin/php-language-server.php --tcp=127.0.0.1:12345
--memory-limit=integer (optional)

Sets memory limit for language server. Equivalent to memory-limit php.ini directive. By default there is no memory limit.

Example:

php bin/php-language-server.php --memory-limit=256M

About

PHP Implementation of the VS Code Language Server Protocol πŸ†šβ†”πŸ–₯

License:ISC License


Languages

Language:PHP 100.0%