PHPackages                             si-gi/jsonrpc-php - 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. si-gi/jsonrpc-php

ActiveLibrary[API Development](/categories/api)

si-gi/jsonrpc-php
=================

Client &amp; Server JSON-RPC 2.0 compatible pour PHP 8.4

v1.0.0(9mo ago)02BSD-3-ClausePHPPHP ^8.3CI passing

Since Aug 4Pushed 9mo agoCompare

[ Source](https://github.com/Si-gi/json-rpc-client)[ Packagist](https://packagist.org/packages/si-gi/jsonrpc-php)[ RSS](/packages/si-gi-jsonrpc-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

json-rpc-client
===============

[](#json-rpc-client)

A PHP json RPC client for shitty json-rpc API

JSON-RPC specifiations:

tested with  and limesurvey RPC API (and created because of limesurvey RPC API)

JSON-RPC and XML-RPC tend to be deprecated everywhere, sso feel free to consider other options if possible.

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

[](#installation)

```
composer require si-gi/jsonrpc-php

```

Then create a config file somewhere If you want to include defaut params, to send with each request such as the API KEY, you must add a defaultParams key in your config file and include all you default parameters

Demo with LimeSurveyAPI
=======================

[](#demo-with-limesurveyapi)

```
$config = ConfigBuilder::build(__DIR__."/config.json", new Config());

// echo $config->getEndpoint();
$transport = new CurlTransport(new CurlClient());
$client = (new RPCClient($transport, $config, new MessageFactory()));

$sessionKey = $client->call('get_session_key', [$config->get("LS_USER"), $config->get("LS_PASSWORD")]);

```

This project is covered at 100% by test, and i hope will be useless one day, despite we have admit that in some case, RPC is usefull

Feel free to contribute and to make suggestions.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance57

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

287d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2888d076397ea755911dc36014ba3143a070718892f2ace82c9206834f59365c?d=identicon)[Si-gi](/maintainers/Si-gi)

---

Top Contributors

[![Si-gi](https://avatars.githubusercontent.com/u/55080762?v=4)](https://github.com/Si-gi "Si-gi (17 commits)")

---

Tags

apirpcjsonrpcphp8

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/si-gi-jsonrpc-php/health.svg)

```
[![Health](https://phpackages.com/badges/si-gi-jsonrpc-php/health.svg)](https://phpackages.com/packages/si-gi-jsonrpc-php)
```

###  Alternatives

[sajya/server

Easy implementation of the JSON-RPC 2.0 server for the Laravel framework.

2391.9M4](/packages/sajya-server)[hyperf/jet

Jet is a unification model RPC Client, built-in JSON RPC protocol, available to running in ALL PHP environments, including PHP-FPM and Swoole/Hyperf environments.

6119.1k](/packages/hyperf-jet)[tbondois/odoo-ripcord

Ripoo : a PHP8 XML-RPC client handler for Odoo External API

16124.3k1](/packages/tbondois-odoo-ripcord)[uderline/openapi-php-attributes

Automatically render your OpenApi 3 file describing your PHP API using attributes

2136.3k](/packages/uderline-openapi-php-attributes)[jeffreyhyer/bamboohr

PHP SDK for the BambooHR API

1077.3k1](/packages/jeffreyhyer-bamboohr)[wayofdev/laravel-symfony-serializer

📦 Laravel wrapper around Symfony Serializer.

2113.6k](/packages/wayofdev-laravel-symfony-serializer)

PHPackages © 2026

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