PHPackages                             hecsedli/cakephpjsonrpcserver - 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. hecsedli/cakephpjsonrpcserver

ActiveCakephp-plugin[Parsing &amp; Serialization](/categories/parsing)

hecsedli/cakephpjsonrpcserver
=============================

CakePHP 3.x JSON-RPC server

0.3(8y ago)0331MITPHPPHP &gt;=5.6.0

Since May 24Pushed 8y agoCompare

[ Source](https://github.com/hecsedli/cakephpjsonrpcserver)[ Packagist](https://packagist.org/packages/hecsedli/cakephpjsonrpcserver)[ Docs](https://github.com/hecsedli/cakephpjsonrpcserver)[ RSS](/packages/hecsedli-cakephpjsonrpcserver/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

CakePHP 3.x JSON-RPC server

Original idea: James Watts

Requirements
------------

[](#requirements)

- CakePHP 3.6+
- PHP 5.6+

Installation
------------

[](#installation)

You can install using [composer](http://getcomposer.org).

```
composer require hecsedli/cakephpjsonrpcserver

```

```
// config/bootstrap.php

Plugin::load('JSONRPCServer', ['bootstrap' => true]);
```

Implementation
--------------

[](#implementation)

Add the component to your controller

```
public $components = ["JSONRPCServer.JsonrpcServer"];
```

```
public function user($request) {
	if (isset($request->params->userId)) {
		return $this->User->findById($request->params->userId);
	} else {
		throw new Exception('No user ID was specified', 123);
	}
);
```

JSON request

```
{
	"jsonrpc": "2.0",
	"method": "user",
	"params": {
		"userId": 5
	},
	"id": "test"
}
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Every ~0 days

Total

3

Last Release

2952d ago

PHP version history (2 changes)0.1PHP &gt;=5.4.16

0.3PHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/66fa801d6497db05cb2d84a82861cc872d32ecaae05648c5786e3451cd6dc97f?d=identicon)[hecsedli](/maintainers/hecsedli)

---

Top Contributors

[![hecsedli](https://avatars.githubusercontent.com/u/32950930?v=4)](https://github.com/hecsedli "hecsedli (6 commits)")

---

Tags

jsonplugincakephp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hecsedli-cakephpjsonrpcserver/health.svg)

```
[![Health](https://phpackages.com/badges/hecsedli-cakephpjsonrpcserver/health.svg)](https://phpackages.com/packages/hecsedli-cakephpjsonrpcserver)
```

###  Alternatives

[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

333972.2k49](/packages/dereuromark-cakephp-tools)[dereuromark/cakephp-tinyauth

A CakePHP plugin to handle user authentication and authorization the easy way.

131237.3k13](/packages/dereuromark-cakephp-tinyauth)[dereuromark/cakephp-setup

A CakePHP plugin containing lots of useful management tools

35184.7k2](/packages/dereuromark-cakephp-setup)[dereuromark/cakephp-databaselog

A CakePHP plugin for storing and viewing application logs in the database

44170.0k2](/packages/dereuromark-cakephp-databaselog)[dereuromark/cakephp-dto

A CakePHP plugin for generating immutable Data Transfer Objects with full type safety

3096.0k5](/packages/dereuromark-cakephp-dto)[dereuromark/cakephp-translate

A CakePHP plugin for managing translations

1711.7k](/packages/dereuromark-cakephp-translate)

PHPackages © 2026

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