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

AbandonedArchivedLibrary[API Development](/categories/api)

devchunk/yii2-json-rpc
======================

yii2-json-rpc

v2.0.0(9y ago)027PHPPHP &gt;=5.4.0

Since Sep 14Pushed 9y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (11)Used By (0)

JsonRpc Server and Client for Yii2

\##Usage Server

1. Install with Composer

```
"require": {
    "devchunk/yii2-json-rpc": "dev-master",
},

php composer.phar update
```

2. Server:

Add action to controller (e.g. JsonRpcTestController)

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

public function echo($param) {
	return $param;
}
```

3. Client:

```
$rpc = new Client('http://127.0.0.1/json-rpc-test', [
    'timeout' => 5,
]);

$result = $rpc->echo("some string");

echo sprintf("RPC result: %s\n", $r);
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 73.2% 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 ~114 days

Recently: every ~244 days

Total

10

Last Release

3646d ago

Major Versions

v1.1.4 → v2.0.02016-07-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/d3636bbfc0b88752b8ecbdf856e2d35d8c4732d5c9aa5f2dc86c393f4488919f?d=identicon)[devchunk](/maintainers/devchunk)

---

Top Contributors

[![nizsheanez](https://avatars.githubusercontent.com/u/686798?v=4)](https://github.com/nizsheanez "nizsheanez (52 commits)")[![unlimix](https://avatars.githubusercontent.com/u/3293956?v=4)](https://github.com/unlimix "unlimix (17 commits)")[![devchunk](https://avatars.githubusercontent.com/u/4221733?v=4)](https://github.com/devchunk "devchunk (2 commits)")

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)[skeeks/yii2-google-api

Component for work with google api based on google/apiclient

1143.8k1](/packages/skeeks-yii2-google-api)[apexwire/yii2-restclient

Tools to use API as ActiveRecord for Yii2

133.5k](/packages/apexwire-yii2-restclient)

PHPackages © 2026

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