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

ActiveLibrary[API Development](/categories/api)

pprt/swoft-jsonrpc-request
==========================

swoft客户端调用hyperf-jsonrpc服务

00PHP

Since Nov 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/s-iov/jsonrpc-swoft-request)[ Packagist](https://packagist.org/packages/pprt/swoft-jsonrpc-request)[ RSS](/packages/pprt-swoft-jsonrpc-request/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

jsonrpc-swoft-request
---------------------

[](#jsonrpc-swoft-request)

**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

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1cdb8ea0edced0d214787ab935f7efedea0f2e345fcda611a594e3d06abc38d1?d=identicon)[s\_iov](/maintainers/s_iov)

---

Top Contributors

[![bijingshihaizi](https://avatars.githubusercontent.com/u/33119529?v=4)](https://github.com/bijingshihaizi "bijingshihaizi (3 commits)")[![s-iov](https://avatars.githubusercontent.com/u/59467614?v=4)](https://github.com/s-iov "s-iov (1 commits)")

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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