New php sdk: phpxmlrpc/jsonrpc

27 views
Skip to first unread message

gggeek

unread,
Oct 31, 2025, 12:11:47 PM (6 days ago) Oct 31
to JSON-RPC
Hello all.

I'm happy to announce the release of version 1.0 of the "phpxmlrpc/jsonrpc" package.

It's been a long time coming, with the latest beta being more than one year and half ago. Hopefully it was worth the wait!

The main new feature is full support for json-rpc 2.0 (so far only  json-rpc 1.0 was supported).

Notable features:
- allows implementing both clients and servers
- supports both  json-rpc 1.0 and 2.0
- supports json-rpc over http (no sockets)
- supports most http features: auth, compression, http2 etc...
- supports proxy classes, code-generation and co.
- comes with a visual debugger (also available separately as a docker container)
- tested on all php versions from 5.4 to 8.5
- shares the same API as the phpxmlrpc library - makes it easy to implement multi-protocol servers
- above and beyond the json-rpc spec: supports other characters sets than utf8, and methods such as  `system.listMethods`, `system.methodHelp` and `system.methodSignature` which make introspection easy
- makes it easy to auto-generate human-readable docs for the implemented methods (via the phpxmlrpc/extras package).



Bye
Gaetano

Reply all
Reply to author
Forward
0 new messages