PHPackages                             nizsheanez/yii2-json-rpc - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. nizsheanez/yii2-json-rpc

ActiveYii2-extension[Parsing &amp; Serialization](/categories/parsing)

nizsheanez/yii2-json-rpc
========================

A lightweight JsonRpc Server and Client for PHP

v1.1.8(8y ago)1834.3k↓60.7%20[1 PRs](https://github.com/nizsheanez/yii2-json-rpc/pulls)BSD-3-ClausePHPPHP &gt;=5.4.0

Since Sep 14Pushed 7y ago3 watchersCompare

[ Source](https://github.com/nizsheanez/yii2-json-rpc)[ Packagist](https://packagist.org/packages/nizsheanez/yii2-json-rpc)[ RSS](/packages/nizsheanez-yii2-json-rpc/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)Dependencies (1)Versions (14)Used By (0)

JsonRpc Server and Client for Yii2

\##Usage Server

1. Install with Composer

```
"require": {
    "nizsheanez/yii2-json-rpc": "1.*",
},

php composer.phar update
```

2. Add action to controller

```
public function actions()
{
    return array(
        'index' => array(
            'class' => \nizsheanez\jsonRpc\Action::class,
        ),
    );
}

public function sum($a, $b) {
	return $a + $b;
}
```

3. All methods of controller now available as JsonRpc methods, for example see method `sum`:

\##Usage Client

```
$client = new \nizsheanez\JsonRpc\Client('http://url/of/webservice');

$response = $client->sum(2, 3);
echo $response;
```

4. Enjoy!

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 91.9% 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 ~144 days

Recently: every ~326 days

Total

13

Last Release

2945d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/686798?v=4)[Alex Sharov](/maintainers/nizsheanez)[@nizsheanez](https://github.com/nizsheanez)

---

Top Contributors

[![nizsheanez](https://avatars.githubusercontent.com/u/686798?v=4)](https://github.com/nizsheanez "nizsheanez (57 commits)")[![Perfectio](https://avatars.githubusercontent.com/u/241746583?v=4)](https://github.com/Perfectio "Perfectio (2 commits)")[![Reza1607](https://avatars.githubusercontent.com/u/3539366?v=4)](https://github.com/Reza1607 "Reza1607 (2 commits)")[![unlimix](https://avatars.githubusercontent.com/u/3293956?v=4)](https://github.com/unlimix "unlimix (1 commits)")

---

Tags

jsonrpcyii2jsonrpcyii

### Embed Badge

![Health badge](/badges/nizsheanez-yii2-json-rpc/health.svg)

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

###  Alternatives

[cranetm/yii2-json-rpc-2.0

JSON RPC 2.0 for Yii2 strict type validation of request and response data

2681.8k1](/packages/cranetm-yii2-json-rpc-20)[datto/json-rpc

Fully unit-tested JSON-RPC 2.0 for PHP

1971.3M14](/packages/datto-json-rpc)[wa72/jsonrpc-bundle

JSON-RPC server for Symfony: exposes services registered in the service container as JSON-RPC webservices

3065.0k](/packages/wa72-jsonrpc-bundle)[hprose/hprose-yii

Hprose Server for Yii 2

357.2k](/packages/hprose-hprose-yii)[dmstr/yii2-json-editor

Yii2 wrapper for "json-editor/json-editor" (is a fork of "jdorn/json-editor")

1064.7k6](/packages/dmstr-yii2-json-editor)[tinywan/rpc

simple rpc service for webman plugin

203.7k](/packages/tinywan-rpc)

PHPackages © 2026

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