PHPackages                             cline/rpc - 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. cline/rpc

ActiveLibrary[API Development](/categories/api)

cline/rpc
=========

RPC implementation for PHP supporting JSON-RPC 2.0 and XML-RPC with OpenRPC specification support

5.0.4(1mo ago)0616MITPHPPHP ^8.5.0CI failing

Since Sep 16Pushed 1mo agoCompare

[ Source](https://github.com/faustbrian/rpc)[ Packagist](https://packagist.org/packages/cline/rpc)[ RSS](/packages/cline-rpc/feed)WikiDiscussions 5.x Synced 1mo ago

READMEChangelog (9)Dependencies (30)Versions (19)Used By (0)

[![GitHub Workflow Status](https://github.com/faustbrian/rpc/actions/workflows/quality-assurance.yaml/badge.svg)](https://github.com/faustbrian/rpc/actions)[![Latest Version on Packagist](https://camo.githubusercontent.com/ff78a15d6240d7c51a7f2dc69dbbbdf618448da70f3486017fe57310dcba988e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c696e652f7270632e737667)](https://packagist.org/packages/cline/rpc)[![Software License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/908464b3b2ea81ab606c937a3bd7e6c97dc8ecd6c9b39c5a6ef93ce9c67e5f6c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c696e652f7270632e737667)](https://packagist.org/packages/cline/rpc)

---

Production-ready JSON-RPC 2.0 and XML-RPC server/client implementation with full OpenRPC specification support. Build type-safe RPC APIs with Laravel integration, automatic documentation, and built-in schema validation.

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

[](#requirements)

> **Requires [PHP 8.4+](https://php.net/releases/)**

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

[](#installation)

```
composer require cline/rpc
```

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

[](#documentation)

- **[Getting Started](DOCS.md#doc-docs-readme)** - Installation, configuration, and first RPC server
- **[Servers](DOCS.md#doc-docs-servers)** - Creating and configuring JSON-RPC servers
- **[Methods](DOCS.md#doc-docs-methods)** - Implementing RPC methods with validation and resources
- **[Clients](DOCS.md#doc-docs-clients)** - Building type-safe RPC clients with Saloon

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please use the [GitHub security reporting form](https://github.com/faustbrian/rpc/security) rather than the issue queue.

Credits
-------

[](#credits)

- [Brian Faust](https://github.com/faustbrian)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License. Please see [License File](LICENSE.md) for more information.

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance88

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Recently: every ~0 days

Total

17

Last Release

59d ago

Major Versions

1.x-dev → 2.0.02025-10-23

2.x-dev → 3.0.02025-10-25

3.x-dev → 4.0.02026-03-04

4.x-dev → 5.0.02026-03-18

PHP version history (2 changes)2.0.0PHP ^8.4.0

4.0.0PHP ^8.5.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22145591?v=4)[Brian Faust](/maintainers/faustbrian)[@faustbrian](https://github.com/faustbrian)

---

Top Contributors

[![faustbrian](https://avatars.githubusercontent.com/u/22145591?v=4)](https://github.com/faustbrian "faustbrian (17 commits)")

---

Tags

phpapilaravelrpcspecificationjson-rpcxml-rpcrpc-serveropenrpcjson-rpc-2.0xml-rpc-spec

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/cline-rpc/health.svg)

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

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M112](/packages/darkaonline-l5-swagger)[resend/resend-laravel

Resend for Laravel

1191.4M6](/packages/resend-resend-laravel)[tivoka/tivoka

The universal JSON-RPC client/server library. JSON-RPC done right!

74159.0k3](/packages/tivoka-tivoka)

PHPackages © 2026

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