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

ActiveLibrary[API Development](/categories/api)

deathkel/json-rpc
=================

Simple Json-RPC client/server library that just works

v1.0.3(10y ago)0159MITPHPPHP &gt;=5.3.4

Since Nov 22Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (8)Used By (0)

JsonRPC PHP Client and Server For Laravel
=========================================

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

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

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ccd95eb1c5025069129de0455de6759a1dcca1b55edcbdc0350a7e0f1a4231a2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f666775696c6c6f742f4a736f6e5250432f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/fguillot/JsonRPC/?branch=master)

[![Build Status](https://camo.githubusercontent.com/e696b737dbe7711ce81da5784e5e5aacd45dbad3b785afeae1506b34e20ab8c0/68747470733a2f2f7472617669732d63692e6f72672f666775696c6c6f742f4a736f6e5250432e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/fguillot/JsonRPC)

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.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:

```

```

Class/Method binding:

```
