PHPackages                             t3ide/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. t3ide/language-server

ActiveLibrary

t3ide/language-server
=====================

Language Server Protocol runtime and infrastructure for PHP

v1.0.0(1mo ago)001MITPHP

Since Mar 22Pushed 1mo agoCompare

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

READMEChangelogDependencies (12)Versions (2)Used By (1)

language-server
===============

[](#language-server)

`t3ide/language-server` is a PHP library that provides JSON-RPC and Language Server Protocol runtime infrastructure.

It is designed as a reusable foundation for building and operating LSP servers in PHP.

What it provides
----------------

[](#what-it-provides)

- JSON-RPC 2.0 message parsing and serialization
- stdio and socket server integration
- request/notification dispatch pipeline with middleware
- request and event dispatch strategies
- client proxy APIs (`window`, `workspace`, diagnostics, work progress)
- cancellation-aware request handling
- server runtime stats helpers

Package layout
--------------

[](#package-layout)

- `lib/JsonRpc/` - transport, request/response objects, client/server session handling
- `lib/Core/Dispatcher/` - method/event dispatch strategies
- `lib/Core/Middleware/` - request pipeline middleware
- `lib/Handler/` - built-in protocol handlers
- `tests/Integration/` - integration tests for pipeline, middleware, dispatcher, and handlers

Requirements
------------

[](#requirements)

- PHP 8.2+
- `t3ide/language-server-protocol`

Installation
------------

[](#installation)

```
composer require t3ide/language-server
```

Development
-----------

[](#development)

Install dependencies:

```
composer install
```

Run tests:

```
./vendor/bin/phpunit
```

Run static analysis:

```
./vendor/bin/phpstan analyse -c phpstan.neon
```

Run coding standards check:

```
./vendor/bin/php-cs-fixer fix --config .php-cs-fixer.php --dry-run --diff
```

License
-------

[](#license)

MIT. See `LICENSE.md`.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance97

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

47d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/574900a5737f32ea8a42095f4e16c43ffeb27d5c99d74644f939ca45cfd145ad?d=identicon)[Teddytrombone](/maintainers/Teddytrombone)

---

Top Contributors

[![Teddytrombone](https://avatars.githubusercontent.com/u/14216933?v=4)](https://github.com/Teddytrombone "Teddytrombone (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M647](/packages/sylius-sylius)[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69333.0M113](/packages/algolia-algoliasearch-client-php)[shopware/platform

The Shopware e-commerce core

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

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)

PHPackages © 2026

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