Release Full-featured JSON-RPC client for PHP
#1
When I started working on XBMC Video Server I realized that there weren't any good JSON-RPC clients for PHP. While it's never fun to partially reinvent the wheel I decided to do it anyway, and today I consider the wheel finished. I'm posting about it here so that others don't reinvent the wheel unnecessarily.

https://github.com/Jalle19/simple-json-rpc-client

Features:
  • Modern (available on Packagist) and very easy to use
  • Fully compliant with the JSON-RPC 2.0 specification
  • Fully tested (some edge cases missing, 90% test coverage)

See the README.md on Github on how to use it. It comes with a HTTP POST client implementation which works for communicating with XBMC. If that doesn't cut it for you there's a simple interface (three methods) you can use to implement your own client (e.g. a HTTP GET client).
Reply
#2
Nice! Thanks for this Smile
Reply
#3
I've created this for my own usage a few times. Looking good!
Image

Please add to my reputation if you find my posts usefull (+/- button below posts)
Ubuntu 12.10 minimal XBMC auto-install script :: XBMControl :: Xbmc XBOX Skins :: XBMControl for Android :: Owner of Sudo Systems
Reply
#4
(2014-02-26, 00:35)Bram77 Wrote: I've created this for my own usage a few times. Looking good!

Indeed, when the wheel is small it is easy to reinvent.
Reply

Logout Mark Read Team Forum Stats Members Help
Full-featured JSON-RPC client for PHP0