Download the PHP package moaction/jsonrpc-bundle without Composer
On this page you can find all versions of the php package moaction/jsonrpc-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download moaction/jsonrpc-bundle
More information about moaction/jsonrpc-bundle
Files in moaction/jsonrpc-bundle
Download moaction/jsonrpc-bundle
More information about moaction/jsonrpc-bundle
Files in moaction/jsonrpc-bundle
Vendor moaction
Package jsonrpc-bundle
Short Description Jsonrpc server and client Symfony2 bundle
License MIT
Package jsonrpc-bundle
Short Description Jsonrpc server and client Symfony2 bundle
License MIT
Please rate this library. Is it a good library?
Informations about the package jsonrpc-bundle
Jsonrpc-bundle
Symfony2 bundle with JSON-Rpc 2.0 protocol implementation
http://www.jsonrpc.org/specification
Usage
- Create a controller that extends \Moaction\JsonrpcBundle\Controller\JsonrpcController
- Add routing for 'execute' method
- Add some public methods with 'Method' postfix
- Enjoy the magic!
Server Example
Controller
Routing
Request example
Client example
For usage take a look at moaction/jsonrpc-client examples.
Client class exists in parameter moaction_jsonrpc.client.class
You can add dependency to any service using client class parameter. Don't forget to add url argument for service:
services.yml:
All versions of jsonrpc-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.3
moaction/jsonrpc-server Version ~1.1
moaction/jsonrpc-client Version ~1.4
symfony/framework-bundle Version ~2.1
moaction/jsonrpc-server Version ~1.1
moaction/jsonrpc-client Version ~1.4
symfony/framework-bundle Version ~2.1
The package moaction/jsonrpc-bundle contains the following files
Loading the files please wait ....