1
0
Fork 0
 
 
Go to file
ADmad 5ecab683eb Linting (#107)
* Update travis config.
* Add phpcs config file.
* Exclude rules
* Ignore failures in tests
* Automatic fixes
* Inline ParsingMode enum as class constants
* Loosen FormatTest because of excluded rule
2016-10-24 19:35:37 +02:00
bin Fix undefined index error (#96) 2016-10-19 15:22:08 +02:00
fixtures Linting (#107) 2016-10-24 19:35:37 +02:00
images Make documentSymbol work 🎉 2016-09-02 02:56:45 +02:00
src Linting (#107) 2016-10-24 19:35:37 +02:00
tests Linting (#107) 2016-10-24 19:35:37 +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 Linting (#107) 2016-10-24 19:35:37 +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
phpcs.xml.dist Linting (#107) 2016-10-24 19:35:37 +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