PHPackages                             n-car/rpc-php-toolkit - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. n-car/rpc-php-toolkit

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

n-car/rpc-php-toolkit
=====================

PHP JSON-RPC 2.0 client/server toolkit with middleware, schema validation, batch processing, introspection, and optional Safe Mode

v1.0.4(1mo ago)00MITPHPPHP &gt;=8.0CI passing

Since Jul 23Pushed 1mo agoCompare

[ Source](https://github.com/n-car/rpc-php-toolkit)[ Packagist](https://packagist.org/packages/n-car/rpc-php-toolkit)[ Docs](https://github.com/n-car/rpc-php-toolkit)[ RSS](/packages/n-car-rpc-php-toolkit/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (6)Versions (5)Used By (0)

RPC PHP Toolkit
===============

[](#rpc-php-toolkit)

[![CI](https://github.com/n-car/rpc-php-toolkit/actions/workflows/ci.yml/badge.svg)](https://github.com/n-car/rpc-php-toolkit/actions/workflows/ci.yml)[![Packagist Version](https://camo.githubusercontent.com/da37362ef5b7440e04fd775ff6bf59498d27071ee53eb868fc85617ba3cebae6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e2d6361722f7270632d7068702d746f6f6c6b69742e737667)](https://packagist.org/packages/n-car/rpc-php-toolkit)[![Packagist Downloads](https://camo.githubusercontent.com/0e409a44052bb30796cb1b33f58be32212afa70742db14a1874f0ef59b6ffdaf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e2d6361722f7270632d7068702d746f6f6c6b69742e737667)](https://packagist.org/packages/n-car/rpc-php-toolkit)[![PHP Version](https://camo.githubusercontent.com/805940785181aa5fa9996e3eba85811d390ca89eab7d134491d00eb986496e8a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6e2d6361722f7270632d7068702d746f6f6c6b69742e737667)](https://packagist.org/packages/n-car/rpc-php-toolkit)[![License](https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667)](LICENSE)[![Status](https://camo.githubusercontent.com/4d2e0b216a8a44aa89445667505c655893a94f61c7e00afe3b554b28198e9c46/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374617475732d737461626c652d677265656e2e737667)](https://github.com/n-car/rpc-php-toolkit/releases)

PHP JSON-RPC 2.0 client/server toolkit with middleware, schema validation, batch processing, introspection, and optional RPC Toolkit Safe Mode.

Use this package when you need a PHP JSON-RPC endpoint, a PHP HTTP client, or a PHP runtime that interoperates with the broader RPC Toolkit ecosystem.

Standard First
--------------

[](#standard-first)

Standard JSON-RPC 2.0 is the default behavior. Enable RPC Toolkit Safe Mode only when both sides are compatible endpoints and need type-aware round-tripping for marker-like strings, dates, and large integer markers.

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

[](#installation)

Install from Packagist with Composer:

```
composer require n-car/rpc-php-toolkit
```

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

[](#quick-start)

```
