PHPackages                             php-lsp/router-contracts - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. php-lsp/router-contracts

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

php-lsp/router-contracts
========================

RPC Router Contracts

06.1k↓98.3%PHPCI passing

Since Jan 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/php-lsp/router-contracts)[ Packagist](https://packagist.org/packages/php-lsp/router-contracts)[ RSS](/packages/php-lsp-router-contracts/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

 [ ![](https://avatars.githubusercontent.com/u/153323085?s=120) ](https://github.com/php-lsp)

---

 [![PHP 8.4+](https://camo.githubusercontent.com/5b0e5b87bc4cbbe314e95c7d4018c421399a98902db451e4e7e6d5cb3446c072/68747470733a2f2f706f7365722e707567782e6f72672f7068702d6c73702f726f757465722d636f6e7472616374732f726571756972652f7068703f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/php-lsp/router-contracts) [![Latest Stable Version](https://camo.githubusercontent.com/41721e143c61a20a007c0013530485f8df43977922759464e04f59927891039f/68747470733a2f2f706f7365722e707567782e6f72672f7068702d6c73702f726f757465722d636f6e7472616374732f76657273696f6e3f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/php-lsp/router-contracts) [![Latest Unstable Version](https://camo.githubusercontent.com/b2052faddb4537b679b85ccfabd3b9eb752279ad553aeaa53a39fa7fe9b2ce7d/68747470733a2f2f706f7365722e707567782e6f72672f7068702d6c73702f726f757465722d636f6e7472616374732f762f756e737461626c653f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/php-lsp/router-contracts) [![License MIT](https://camo.githubusercontent.com/4970b3894ddf2c2d97137c04b3f52c6fbc462d8353674f602f418cc126bb8e36/68747470733a2f2f706f7365722e707567782e6f72672f7068702d6c73702f726f757465722d636f6e7472616374732f6c6963656e73653f7374796c653d666f722d7468652d6261646765)](https://raw.githubusercontent.com/php-lsp/router-contracts/blob/master/LICENSE)

 [![](https://github.com/php-lsp/router-contracts/workflows/tests/badge.svg)](https://github.com/php-lsp/router-contracts/actions)

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

[](#installation)

This package is available as Composer repository and can be installed using the following command in a root of your project:

```
$ composer require php-lsp/router-contracts
```

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/150420?v=4)[Ruslan Sharipov](/maintainers/Serafim)[@serafim](https://github.com/serafim)

---

Top Contributors

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

---

Tags

contractslanguage-serverlanguage-server-protocollspphprouterrpc

### Embed Badge

![Health badge](/badges/php-lsp-router-contracts/health.svg)

```
[![Health](https://phpackages.com/badges/php-lsp-router-contracts/health.svg)](https://phpackages.com/packages/php-lsp-router-contracts)
```

###  Alternatives

[phpdocumentor/type-resolver

A PSR-5 based resolver of Class names, Types and Structural Element Names

9.2k719.5M166](/packages/phpdocumentor-type-resolver)[pimple/pimple

Pimple, a simple Dependency Injection Container

2.7k130.5M1.4k](/packages/pimple-pimple)[league/container

A fast and intuitive dependency injection container.

86387.8M342](/packages/league-container)[stella-maris/clock

A pre-release of the proposed PSR-20 Clock-Interface

7947.5M2](/packages/stella-maris-clock)[wptrt/wpthemereview

PHP\_CodeSniffer rules (sniffs) to verify theme compliance with the rules for theme hosting on wordpress.org

217736.5k29](/packages/wptrt-wpthemereview)[inpsyde/modularity

Modular PSR-11 implementation for WordPress plugins, themes or libraries.

54383.3k3](/packages/inpsyde-modularity)

PHPackages © 2026

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