PHPackages                             vnloco/swoft-jsonrpc-request - 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. vnloco/swoft-jsonrpc-request

ActiveLibrary[API Development](/categories/api)

vnloco/swoft-jsonrpc-request
============================

swoft客户端调用hyperf-jsonrpc服务

v1.0.0(5y ago)05PHP

Since Jul 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/bijingshihaizi/swoft-jsonrpc-request)[ Packagist](https://packagist.org/packages/vnloco/swoft-jsonrpc-request)[ RSS](/packages/vnloco-swoft-jsonrpc-request/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

swoftJsonRpcRequest
-------------------

[](#swoftjsonrpcrequest)

**description : swoft客户端调用hyperf-jsonrpc服务**

***.env 配置信息***

```
# hyperf service
HYPERF_SERVICE_URI=tcp://127.0.0.1:9503

```

***调用方法***

```
//引入命名空间
use JsonRpcRequest\RequestRpc;

```

```
$client = new RequestRpc();
/**
* $name consul服务名（或者hypefjsonrpc服务名） e.g. 'CalculatorService'
* $method 方法名称 e.g. '/calculator/add'
* $params e.g. [1,2]
*/
$result = $client->send($name,$method, $params);

```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

2186d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b0e4946d9f41a484b1858e86fef07035123ce85dd1f0ff83b9a8e65b9ef3529?d=identicon)[cvl](/maintainers/cvl)

---

Top Contributors

[![bijingshihaizi](https://avatars.githubusercontent.com/u/33119529?v=4)](https://github.com/bijingshihaizi "bijingshihaizi (8 commits)")

### Embed Badge

![Health badge](/badges/vnloco-swoft-jsonrpc-request/health.svg)

```
[![Health](https://phpackages.com/badges/vnloco-swoft-jsonrpc-request/health.svg)](https://phpackages.com/packages/vnloco-swoft-jsonrpc-request)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M19](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k12](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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