PHPackages                             droplister/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. [API Development](/categories/api)
4. /
5. droplister/json-rpc

ActiveLibrary[API Development](/categories/api)

droplister/json-rpc
===================

Simple Json-RPC client/server library that just works

v1.2.5(8y ago)03.3k1MITPHPPHP &gt;=5.3.4

Since Nov 22Pushed 7y ago1 watchersCompare

[ Source](https://github.com/droplister/JsonRPC)[ Packagist](https://packagist.org/packages/droplister/json-rpc)[ Docs](https://github.com/fguillot/JsonRPC)[ RSS](/packages/droplister-json-rpc/feed)WikiDiscussions master Synced 2mo ago

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

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

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

A simple Json-RPC client/server that just works. Forked, as fguillot/JsonRPC became read-only without details.

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:

```
