Download the PHP package makedo/jsonrpc without Composer
On this page you can find all versions of the php package makedo/jsonrpc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package jsonrpc
Json RPC server
Built according to json rpc standard 2.0 described in https://www.jsonrpc.org/specification with batch requests support
Requirements
- PHP >= 8.0
- ext-json
- any implementation of PSR-7 RequestInterface, ResponseInterface and ResponseFactoryInterface
Installation
composer install makedo/json-rpc
Usage
Basic Example
Error example with debug
Advanced Usage
Custom Json Encoder
Custom Json Decoder
Json rpc request extra validation and Invalid params error (Analogue of 401 in REST)
Json rpc response result serialization
Customising error response data in debug mode
Procedure handling Using PSR-11 container
Plans and TODOS
- Async handling of batch requests
All versions of jsonrpc with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
ext-json Version *
psr/http-message Version ^1.0
psr/http-factory Version ^1.0
psr/http-server-handler Version ^1.0
psr/container Version ^1.1.1
ext-json Version *
psr/http-message Version ^1.0
psr/http-factory Version ^1.0
psr/http-server-handler Version ^1.0
psr/container Version ^1.1.1
The package makedo/jsonrpc contains the following files
Loading the files please wait ....