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)56529.0k↑49.3%13[9 issues](https://github.com/phpactor/language-server/issues)[5 PRs](https://github.com/phpactor/language-server/pulls)6MITPHPPHP ^8.1CI failing

Since Oct 14Pushed 5mo 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 yesterday

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

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

59

—

FairBetter than 98% of packages

Maintenance53

Moderate activity, may be stable

Popularity52

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity85

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

522d 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

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[laravel/framework

The Laravel Framework.

34.8k543.8M20.0k](/packages/laravel-framework)[symfony/mailer

Helps sending emails

1.6k409.1M1.4k](/packages/symfony-mailer)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M572](/packages/shopware-core)[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.9k69.5k](/packages/grumpydictator-firefly-iii)

PHPackages © 2026

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