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(11mo ago)02BSD-3-ClausePHPPHP ^8.3CI passing

Since Aug 4Pushed 11mo 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

30

—

LowBetter than 62% of packages

Maintenance52

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

332d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/55080762?v=4)[Si-gi](/maintainers/Si-gi)[@Si-gi](https://github.com/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

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

3.0k37.6M133](/packages/darkaonline-l5-swagger)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k14.2M63](/packages/knuckleswtf-scribe)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M982](/packages/statamic-cms)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[psx/api

Parse and generate API specification formats

39183.3k5](/packages/psx-api)[tbondois/odoo-ripcord

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

15129.8k1](/packages/tbondois-odoo-ripcord)

PHPackages © 2026

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