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

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

tourze/json-rpc-caller-bundle
=============================

JsonRPC调用方管理

0.1.5(11mo ago)0583MITPHPPHP ^8.1CI failing

Since Apr 15Pushed 10mo ago1 watchersCompare

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

READMEChangelog (5)Dependencies (33)Versions (9)Used By (0)

JSON-RPC Caller Bundle
======================

[](#json-rpc-caller-bundle)

[English](README.md) | [中文](README.zh-CN.md)

[![Latest Version](https://camo.githubusercontent.com/3f21ffe5d3c58067d45152cf008040a33f2956469583f70931b39fed68615776/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f75727a652f6a736f6e2d7270632d63616c6c65722d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/json-rpc-caller-bundle)[![Build Status](https://camo.githubusercontent.com/00d30f3a61d6ed85d618f00caa18f8593851a0acb0345bdd44bbc767c5215da0/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f746f75727a652f6a736f6e2d7270632d63616c6c65722d62756e646c652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/tourze/json-rpc-caller-bundle)[![Quality Score](https://camo.githubusercontent.com/937b6a8d0600362f1710d6e8b26109230af38ee80a6cd39261495ffa381679a0/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f746f75727a652f6a736f6e2d7270632d63616c6c65722d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tourze/json-rpc-caller-bundle)[![Total Downloads](https://camo.githubusercontent.com/ef2e738b45407523405228bfda742a4fdc8f7e4f2265f6ad47822942d78ac2de/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f75727a652f6a736f6e2d7270632d63616c6c65722d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/json-rpc-caller-bundle)

A Symfony bundle for managing JSON-RPC API callers, supporting secure client identification, signature verification, IP whitelist, and more.

Features
--------

[](#features)

- Manage JSON-RPC API callers (clients)
- Unique AppID/AppSecret for each caller
- IP whitelist and AES key support
- Signature timeout mechanism
- Audit fields for security and traceability
- Easy integration with Symfony and Doctrine

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

[](#installation)

### Requirements

[](#requirements)

- PHP &gt;= 8.1
- Symfony &gt;= 6.4
- Doctrine DBAL &gt;= 4.0

### Composer

[](#composer)

```
composer require tourze/json-rpc-caller-bundle
```

Quick Start
-----------

[](#quick-start)

1. Register the bundle in your Symfony application (if not auto-discovered).
2. Run Doctrine migrations to create the `api_caller` table.
3. Configure your JSON-RPC clients in the database.

### Example Usage

[](#example-usage)

```
// Fetch a caller by AppID
$caller = $entityManager->getRepository(ApiCaller::class)->findOneBy(['appId' => 'your-app-id']);

// Validate signature, IP, etc. according to your business logic
```

Data Fixtures
-------------

[](#data-fixtures)

This bundle provides data fixtures for testing and development environments. These can be used to quickly populate your database with different types of API callers.

### Available Fixtures

[](#available-fixtures)

- **ApiCallerFixtures**: Creates 5 different types of API callers with various configurations

### Loading Fixtures

[](#loading-fixtures)

Execute from your project root:

```
php bin/console doctrine:fixtures:load --group=json-rpc-caller
```

To preserve existing data, use the `--append` option:

```
php bin/console doctrine:fixtures:load --group=json-rpc-caller --append
```

### Using in Tests

[](#using-in-tests)

You can use references to these fixtures in your tests:

```
use Tourze\JsonRPCCallerBundle\DataFixtures\ApiCallerFixtures;
use Tourze\JsonRPCCallerBundle\Entity\ApiCaller;

// Get the default caller reference
$defaultCaller = $this->getReference(ApiCallerFixtures::DEFAULT_CALLER_REFERENCE, ApiCaller::class);
```

For more information, see `src/DataFixtures/README.md`.

Documentation
-------------

[](#documentation)

- Entity: `ApiCaller` (see ENTITY\_DESIGN.md)
- Configuration: Standard Symfony bundle config
- Repository: `ApiCallerRepository`

Contribution
------------

[](#contribution)

- Submit issues or pull requests via GitHub
- Follow PSR coding standards
- Add tests for new features

License
-------

[](#license)

MIT License © tourze

Changelog
---------

[](#changelog)

See [CHANGELOG.md](CHANGELOG.md) for details.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance53

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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 ~6 days

Total

8

Last Release

344d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e354fdb316da535dfa8ba2e9193a473c403b6bc6fb9170778d1dc50e304c6e9d?d=identicon)[tourze](/maintainers/tourze)

---

Top Contributors

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

---

Tags

jsonrpcsymfony

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/tourze-json-rpc-caller-bundle/health.svg)](https://phpackages.com/packages/tourze-json-rpc-caller-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)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[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)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)

PHPackages © 2026

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