PHPackages                             neznajki/json-rpc-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. [API Development](/categories/api)
4. /
5. neznajki/json-rpc-server

ActiveLibrary[API Development](/categories/api)

neznajki/json-rpc-server
========================

server for json rpc

v0.2.1(5y ago)09[1 PRs](https://github.com/Neznajki/json-rpc-server/pulls)MITPHPPHP &gt;=7.3

Since Oct 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Neznajki/json-rpc-server)[ Packagist](https://packagist.org/packages/neznajki/json-rpc-server)[ RSS](/packages/neznajki-json-rpc-server/feed)WikiDiscussions master Synced yesterday

READMEChangelog (9)Dependencies (5)Versions (11)Used By (0)

json-rpc-authorization
======================

[](#json-rpc-authorization)

makes authorization for json rpc

installation
============

[](#installation)

- composer require neznajki/json-rpc-server
- services.yaml

```
imports:
    - { resource: '@JsonRpcServerBundle/Resources/config/services.yaml' }
```

- routes.yaml

```
jsonRpc:
    resource: '@JsonRpcServerBundle/Resources/config/routing.yaml'
```

method creation
===============

[](#method-creation)

```
    App\Api\CoolMethod:
        tags: [ 'json.rpc.server.method' ]
```

```
class CoolMethod implements MethodHandlerInterface
{
    /**
     * @param string $test
     * @param int|null $test2
     * @return mixed
     */
    public function handle(string $test = null, ?int $test2 = null)
    {
        return $test . 'tt';
    }

    /**
     * @return string
     */
    public function getMethod(): string
    {
        return 'coolMethodIncomingName';
    }

    /**
     * @return array
     */
    public function getRequiredParameters(): array
    {
        return ['test'];
    }
}
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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

Every ~35 days

Recently: every ~68 days

Total

9

Last Release

2118d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2014540?v=4)[neznajka](/maintainers/neznajka)[@neznajka](https://github.com/neznajka)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/neznajki-json-rpc-server/health.svg)

```
[![Health](https://phpackages.com/badges/neznajki-json-rpc-server/health.svg)](https://phpackages.com/packages/neznajki-json-rpc-server)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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