The Jsonrpc plugin for CakePHP provides both server and client implementations of JSON-RPC as components.