Download the PHP package json-rpc/server without Composer
On this page you can find all versions of the php package json-rpc/server. 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 server
JSON-RPC Server
Library provides JSON-RPC server following 2.0 specs.
Not stable
Version 0.x
is unstable and API is subject to change.
Requirements
- PHP >=8.1
Installation
Use composer to install library:
Usage
Implement HandlerResolver
interface to provide server with method
handlers. Create server and pass handler resolver. After that you
can call methods with respond
server method. Both request and response
must be JSON strings. If server have no respond an empty string will be
returned.
Development
-
Build development container:
- Make changes to
.env
file if needed. sh
inside container:
From inside the container you can use various make
recipes:
make test
— run PHPUnit tests.make test-coverage
— generate Code Coverage report to./coverage
directory.make analyse
— run PHPStan static code analysis.make format
— run PHP-CS-Fixer code formatter.make format-preview
— preview PHP-CS-Fixer output before format.
License
MIT
All versions of server with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
The package json-rpc/server contains the following files
Loading the files please wait ....