1
0
Fork 0
 
 
Go to file
Michal Niewrzal 6a6a93c679 Small code reorganization 2016-10-21 16:26:21 +02:00
bin Fix undefined index error (#96) 2016-10-19 15:22:08 +02:00
fixtures Resolve self, static, parent (#99) 2016-10-20 00:18:36 +02:00
images Make documentSymbol work 🎉 2016-09-02 02:56:45 +02:00
src Small code reorganization 2016-10-21 16:26:21 +02:00
tests Initial implemention for code completion 2016-10-21 14:49:56 +02:00
.editorconfig Initial Commit 2016-08-12 10:16:42 +02:00
.gitignore Cache index on disk (#82) 2016-10-20 03:48:30 +02:00
.travis.yml Cache vendor dir on Travis 2016-10-14 09:08:40 +02:00
LICENSE.txt Add LICENSE 2016-08-30 18:49:06 +02:00
README.md Update README with --memory-limit param (#70) 2016-10-11 21:14:49 +02:00
codecov.yml Add coverage reporting (#14) 2016-09-06 12:55:05 +02:00
composer.json Update AdvancedJsonRpc (#103) 2016-10-20 03:31:12 +02:00
phpunit.xml.dist Convert indentation to spaces in phpunit.xml.dist 2016-09-30 12:20:53 +02:00

README.md

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