PHPackages                             rambler-digital-solutions/php-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. rambler-digital-solutions/php-json-rpc

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

rambler-digital-solutions/php-json-rpc
======================================

Simple Json-RPC client/server library that just works

v1.0.0(10y ago)1034.2k↓48.3%6[1 PRs](https://github.com/rambler-digital-solutions/php-json-rpc/pulls)1MITPHPPHP &gt;=5.6

Since Jun 9Pushed 3y ago12 watchersCompare

[ Source](https://github.com/rambler-digital-solutions/php-json-rpc)[ Packagist](https://packagist.org/packages/rambler-digital-solutions/php-json-rpc)[ Docs](https://github.com/rambler-digital-solutions/php-json-rpc)[ RSS](/packages/rambler-digital-solutions-php-json-rpc/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (4)Used By (1)

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

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

A simple Json-RPC client/server that just works. Forked from [fguillot/JsonRPC](https://github.com/fguillot/JsonRPC) while trying to keep it slim and speedy.

[![Build Status](https://camo.githubusercontent.com/1eb24e7e5a27a848887b2d7a94e49471b6f34115719173a1e0a0a351e6d625d0/68747470733a2f2f7472617669732d63692e6f72672f72616d626c65722d6469676974616c2d736f6c7574696f6e732f7068702d6a736f6e2d7270632e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rambler-digital-solutions/php-json-rpc)

Features
--------

[](#features)

- JSON-RPC 2.0 protocol only
- The server support batch requests and notifications
- Authentication and IP based client restrictions
- Minimalist: there is only 2 files
- Fully unit tested
- Requirements: PHP &gt;= 5.6
- License: MIT

Author
------

[](#author)

Frédéric Guillot

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

[](#installation-with-composer)

```
composer require rambler-digital-solutions/php-json-rpc @stable
```

Examples
--------

[](#examples)

### Server

[](#server)

Callback binding:

```
