PHPackages                             nanofelis/json-rpc-bundle - 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. nanofelis/json-rpc-bundle

ActiveSymfony-bundle[API Development](/categories/api)

nanofelis/json-rpc-bundle
=========================

This bundle provides a JSON RPC 2.0 implementation for Symfony

5.0.0(1y ago)1176.1k↓32.1%2[5 PRs](https://github.com/nanofelis/NanofelisJsonRpcBundle/pulls)MITPHPPHP ^8.0CI passing

Since Sep 20Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/nanofelis/NanofelisJsonRpcBundle)[ Packagist](https://packagist.org/packages/nanofelis/json-rpc-bundle)[ RSS](/packages/nanofelis-json-rpc-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (11)Versions (20)Used By (0)

The NanofelisJsonRpcBundle is a symfony friendly implementation of the [JSON-RPC 2.0](https://www.jsonrpc.org/specification) specification.

⚠️ Version 2.x – Breaking Change
This version introduces a breaking change:

- All RPC services must now use the `#[JsonRpcService('serviceKey')]` attribute.
- The method `getServiceKey()` has been removed.
- PHP 8.0+ is required due to native attributes.

Installation
============

[](#installation)

Make sure Composer is installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Applications that use Symfony Flex
----------------------------------

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
composer require nanofelis/json-rpc-bundle
```

Applications that don't use Symfony Flex
----------------------------------------

[](#applications-that-dont-use-symfony-flex)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
composer require nanofelis/json-rpc-bundle
```

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    Nanofelis\JsonRpcBundle\NanofelisJsonRpcBundle::class => ['all' => true],
];
```

Documentation
=============

[](#documentation)

- 📘 Documentation for version **2.x** (current): [docs/v2/index.md](docs/v2/index.md)
- 📘 Documentation for version **1.x** (legacy): [docs/index.md](docs/v1/index.md)
- 🔁 Upgrade from v1 to v2: [docs/migration.md](docs/migration.md).

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance64

Regular maintenance activity

Popularity37

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 85.5% 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 ~145 days

Total

15

Last Release

384d ago

Major Versions

1.0.1 → 2.0.02020-05-22

2.1.1 → 3.0.02021-12-08

3.3.0 → 4.0.02024-03-20

4.0.0 → 5.0.02025-04-22

PHP version history (3 changes)1.0.0PHP ^7.2

2.1.0PHP ^7.4

3.0.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/72c66bae740be98c0bf2bf996c44b9b779c5e06c0c01120f86ab5c5bfd1fcf85?d=identicon)[nanofelis](/maintainers/nanofelis)

---

Top Contributors

[![nanofelis](https://avatars.githubusercontent.com/u/3204875?v=4)](https://github.com/nanofelis "nanofelis (53 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (7 commits)")[![Ali-HENDA](https://avatars.githubusercontent.com/u/139966383?v=4)](https://github.com/Ali-HENDA "Ali-HENDA (1 commits)")[![mlavrk](https://avatars.githubusercontent.com/u/115922068?v=4)](https://github.com/mlavrk "mlavrk (1 commits)")

---

Tags

apisymfonyjson-rpc

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nanofelis-json-rpc-bundle/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M650](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

578630.7k1](/packages/scheb-2fa)[scheb/2fa-bundle

A generic interface to implement two-factor authentication in Symfony applications

6914.0M62](/packages/scheb-2fa-bundle)

PHPackages © 2026

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