PHPackages                             etk-pl/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. etk-pl/json-rpc

ActiveLibrary[API Development](/categories/api)

etk-pl/json-rpc
===============

0.1.5(7y ago)0522[2 PRs](https://github.com/droplo-com/json-rpc/pulls)proprietaryPHPPHP ^7.2

Since Jul 13Pushed 6y ago6 watchersCompare

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

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

JsonRpc
=======

[](#jsonrpc)

[![Build Status](https://camo.githubusercontent.com/22806d5cc5ea9f7c98a8b5b8acc3414ef305eb99aebd9da33436676cc20e6ee9/68747470733a2f2f7472617669732d63692e6f72672f65746b2d706c2f6a736f6e2d7270632e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/etk-pl/json-rpc)[![Coverage Status](https://camo.githubusercontent.com/4dafedec4f964a793c790e603c42a46990778f3fa84085b496d990a237bcd0e1/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f65746b2d706c2f6a736f6e2d7270632f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/etk-pl/json-rpc?branch=master)[![Maintainability](https://camo.githubusercontent.com/8204a7affce85ebbb41c138d72758808077a602fbebf780fdbfecc5bb49687c3/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39313964656665643663663863313165303166382f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/etk-pl/json-rpc/maintainability)

Install
-------

[](#install)

```
$ composer require etk-pl/json-rpc
```

Example
-------

[](#example)

```
use JsonRpc\Client;
use JsonRpc\Request;
$client = new Client('http://localhost:8080/');
$response = $client->send(new Request([
	'resource' => 'Test',
	'method' => 'echo',
	'params' => ['param' => 'value']
]));
if($error = $response->getError()) {
	die("Got error: " . $error['message']);
}
$result = $response->getResult();
var_dump($result);
```

or

```
use JsonRpc\ApiClient;
$client = new ApiClient('http://localhost:8080/');
try{
	$result = $client->Test->echo(['param' => 'value']);
} catch(\Exception $e) {
	die("Got error: " . $error['message']);
}
var_dump($result);
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.6% 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 ~8 days

Total

6

Last Release

2868d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10181794?v=4)[Michał Żaloudik](/maintainers/ponury-kostek)[@ponury-kostek](https://github.com/ponury-kostek)

---

Top Contributors

[![ponury-kostek](https://avatars.githubusercontent.com/u/10181794?v=4)](https://github.com/ponury-kostek "ponury-kostek (41 commits)")[![swift13](https://avatars.githubusercontent.com/u/450729?v=4)](https://github.com/swift13 "swift13 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/etk-pl-json-rpc/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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