PHPackages                             guthand-com/json-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. guthand-com/json-rpc

ActiveLibrary

guthand-com/json-rpc
====================

Simple Json-RPC client/server library that just works

v1.2.6(6y ago)01.3kMITPHPPHP &gt;=5.3.4

Since Nov 22Pushed 6y agoCompare

[ Source](https://github.com/guthand-com/JsonRPC)[ Packagist](https://packagist.org/packages/guthand-com/json-rpc)[ Docs](https://github.com/guthand-com/JsonRPC)[ RSS](/packages/guthand-com-json-rpc/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (16)Used By (0)

JsonRPC PHP Client and Server
=============================

[](#jsonrpc-php-client-and-server)

A simple Json-RPC client/server that just works.

Features
--------

[](#features)

- JSON-RPC 2.0 only
- The server support batch requests and notifications
- Authentication and IP based client restrictions
- Custom Middleware
- Fully unit tested
- Requirements: PHP &gt;= 5.3.4
- License: MIT

Author
------

[](#author)

Frédéric Guillot

Installation with Composer
--------------------------

[](#installation-with-composer)

```
composer require fguillot/json-rpc @stable
```

Examples
--------

[](#examples)

### Server

[](#server)

Callback binding:

```
