* Only hold content for open files in memory * Add test for didClose * Remove invalid URI formatting test * Don't keep AST in memory * Fix symbol search crash * Change Project map to FQN => URI Removes PhpDocument::load(), isLoaded(), unload() * Add docblocks * Rename some functions * Extend documentation * Correct docblock |
||
---|---|---|
bin | ||
fixtures | ||
images | ||
src | ||
tests | ||
.editorconfig | ||
.gitignore | ||
.travis.yml | ||
LICENSE.txt | ||
README.md | ||
codecov.yml | ||
composer.json | ||
phpunit.xml.dist |
README.md
PHP Language Server
A pure PHP implementation of the Language Server Protocol.
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
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