PHPackages                             phpactor/language-server - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. phpactor/language-server

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phpactor/language-server
========================

Generic Language Server Platform

7.0.1(1y ago)55470.1k↓43.5%12[4 PRs](https://github.com/phpactor/language-server/pulls)5MITPHPPHP ^8.1CI passing

Since Oct 14Pushed 4mo ago4 watchersCompare

[ Source](https://github.com/phpactor/language-server)[ Packagist](https://packagist.org/packages/phpactor/language-server)[ RSS](/packages/phpactor-language-server/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (18)Versions (57)Used By (5)

Phpactor Language Server
========================

[](#phpactor-language-server)

[![CI](https://github.com/phpactor/language-server/workflows/CI/badge.svg)](https://github.com/phpactor/language-server/workflows/CI/badge.svg)

This package provides a platform for *building* a Language Server according to the [Language Server Specification](https://microsoft.github.io/language-server-protocol/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](https://github.com/phpactor/language-server-protocol).

See the [Language Server Specification](https://microsoft.github.io/language-server-protocol/specification)for a list of methods which you can implement with this package.

Documentation
-------------

[](#documentation)

Documentation can be found on [readthedocs](https://language-server-platform.readthedocs.io/en/latest/).

Installing
----------

[](#installing)

```
$ composer require phpactor/language-server

```

Running the tests
-----------------

[](#running-the-tests)

With composer:

```
$ composer integrate

```

or:

```
$ ./vendor/bin/phpunit
$ ./vendor/bin/phpstan analyse
$ ./vendor/bin/php-cs-fixer fix

```

Built With
----------

[](#built-with)

- [Amphp](https://amphp.org/): Event-driven concurrency framework.

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

Contributing
------------

[](#contributing)

This package is open source and welcomes contributions! Feel free to open a pull request on this repository.

Support
-------

[](#support)

- Create an issue on the main [Phpactor](https://github.com/phpactor/phpactor) repository.
- Join the `#phpactor` channel on the Slack [Symfony Devs](https://symfony.com/slack-invite) channel.

###  Health Score

60

—

FairBetter than 99% of packages

Maintenance61

Regular maintenance activity

Popularity50

Moderate usage in the ecosystem

Community27

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 97.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~47 days

Recently: every ~84 days

Total

49

Last Release

477d ago

Major Versions

2.2.0 → 3.0.02022-07-09

3.5.3 → 4.0.02023-02-11

4.0.3 → 5.0.02023-04-09

5.1.3 → 6.0.02023-07-29

6.2.0 → 7.0.02025-01-26

PHP version history (5 changes)0.3.0PHP ^7.2

1.0.0PHP ^7.3 || ^8.0

1.1.3PHP ^7.4 || ^8.0

3.5.0PHP ^8.0

7.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/24ec7d5d6b7ea54007be5d7b4f43800381cc1e22929f7d2276fba30e497fdfa6?d=identicon)[dantleech](/maintainers/dantleech)

---

Top Contributors

[![dantleech](https://avatars.githubusercontent.com/u/530801?v=4)](https://github.com/dantleech "dantleech (572 commits)")[![przepompownia](https://avatars.githubusercontent.com/u/11404453?v=4)](https://github.com/przepompownia "przepompownia (4 commits)")[![camilledejoye](https://avatars.githubusercontent.com/u/11501572?v=4)](https://github.com/camilledejoye "camilledejoye (3 commits)")[![lumnn](https://avatars.githubusercontent.com/u/2505114?v=4)](https://github.com/lumnn "lumnn (2 commits)")[![mamazu](https://avatars.githubusercontent.com/u/14860264?v=4)](https://github.com/mamazu "mamazu (2 commits)")[![weeman1337](https://avatars.githubusercontent.com/u/6216686?v=4)](https://github.com/weeman1337 "weeman1337 (1 commits)")[![MatmaRex](https://avatars.githubusercontent.com/u/160413?v=4)](https://github.com/MatmaRex "MatmaRex (1 commits)")[![muglug](https://avatars.githubusercontent.com/u/2292638?v=4)](https://github.com/muglug "muglug (1 commits)")

---

Tags

language-serverlanguage-server-protocolphpphpactor

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/phpactor-language-server/health.svg)

```
[![Health](https://phpackages.com/badges/phpactor-language-server/health.svg)](https://phpackages.com/packages/phpactor-language-server)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[phpro/soap-client

A general purpose SoapClient library

8885.6M46](/packages/phpro-soap-client)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[ecotone/ecotone

Supporting you in building DDD, CQRS, Event Sourcing applications with ease.

558549.8k17](/packages/ecotone-ecotone)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
