phpactor / language-server
Generic Language Server Platform
Installs: 159 046
Dependents: 5
Suggesters: 0
Security: 0
Stars: 42
Watchers: 6
Forks: 11
Open Issues: 11
Requires
- php: ^8.0
- amphp/socket: ^1.1
- dantleech/argument-resolver: ^1.1
- dantleech/invoke: ^2.0
- phpactor/language-server-protocol: ^3.17
- psr/event-dispatcher: ^1.0
- psr/log: ^1.0
- ramsey/uuid: ^4.0
- thecodingmachine/safe: ^1.1
Requires (Dev)
- amphp/phpunit-util: ^1.3
- ergebnis/composer-normalize: ^2.0
- friendsofphp/php-cs-fixer: ^3.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
- 6.1.4
- 6.1.3
- 6.1.2
- 6.1.1
- 6.1.0
- 6.0.2
- 6.0.1
- 6.0.0
- 5.1.3
- 5.1.2
- 5.1.1
- 5.1.0
- 5.0.0
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 3.5.3
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.1
- 3.1.0
- 3.0.0
- 2.2.0
- 2.1.0
- 2.0.0
- dev-master / 1.x-dev
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.2
- 1.0.1
- 1.0.0
- 0.5.0
- 0.4.0
- 0.3.3
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.1
- 0.2.0
- 0.1.0
- dev-cancel
- dev-file-events
- dev-maestro-phpbench
- dev-githubactions
- dev-lsp-prot-1
- dev-workspace-events
This package is auto-updated.
Last update: 2024-12-03 13:29:47 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
#phpactor
channel on the Slack Symfony Devs channel.