Skip to content

phpactor/language-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e493419 · Jan 26, 2025
Jan 26, 2025
Jan 26, 2025
Aug 20, 2020
Feb 11, 2023
Jan 26, 2025
Mar 3, 2024
Jan 26, 2025
Sep 19, 2021
Sep 19, 2021
Jan 26, 2025
Aug 24, 2019
Jan 2, 2021
Jan 26, 2025
Feb 11, 2023
Feb 11, 2023
Aug 17, 2020

Repository files navigation

Phpactor Language Server

CI

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.