balthild / language-server
Generic Language Server Platform
dev-main
2026-10-31 06:52 UTC
Requires
- php: ^8.2
- amphp/amp: ^3.0
- amphp/byte-stream: ^2.1
- amphp/socket: ^2.4
- balthild/language-server-protocol: dev-main#8863c31
- dantleech/argument-resolver: ^1.1
- dantleech/invoke: ^2.0
- psr/event-dispatcher: ^1.0
- psr/log: ^1.0
- ramsey/uuid: ^4.0
- revolt/event-loop: ^1.0
Requires (Dev)
- amphp/phpunit-util: ^3.0
- carthage-software/mago: ^1.59
- ergebnis/composer-normalize: ^2.0
- jangregor/phpstan-prophecy: ^1.0
- phpactor/phly-event-dispatcher: ~2.0.0
- phpactor/test-utils: ~1.1.3
- phpspec/prophecy-phpunit: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1.0
- phpunit/phpunit: ^9.0
- symfony/var-dumper: ^5.1
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-31 06:52:40 UTC
README
This package provides a platform for building a Language Server according to the Language Server Specification
- ✔️ Can run as either a TCP server or on STDIO.
- ✔️ Multiple connections.
- ✔️ Text document synchronization.
- ✔️ Background services.
- ✔️ Bi-directional requests.
- ✔️ Commands.
- ✔️ Request cancellation.
- ✔️ Initialization handling.
- ✔️ Up-to-date and self-instantiating protocol classes.
See the Language Server Specification for a list of methods which you can implement with this package.
Documentation
Documentation can be found on readthedocs.
Installing
$ composer require phpactor/language-server
Running the tests
With composer:
$ composer integrate
or:
$ ./vendor/bin/phpunit
$ ./vendor/bin/phpstan analyse
$ ./vendor/bin/php-cs-fixer fix
Built With
- Amphp: Event-driven concurrency framework.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Contributing
This package is open source and welcomes contributions! Feel free to open a pull request on this repository.
Support
- Create an issue on the main Phpactor repository.
- Join the
#phpactorchannel on the Slack Symfony Devs channel.