gamee/php-jsonrpc

JSON-RPC toolset build on top of psr-7 (guzzlehttp), league/json-guard, league/json-reference, league/flysystem and nette/di

v3.0.2 2019-10-21 08:21 UTC

README

Latest Stable Version License Total Downloads Build Status

php-jsonrpc

JSON-RPC toolset build on top of psr-7 (guzzlehttp), league/json-guard, league/json-reference and league/flysystem

Common classes used for JSON-RPC APIs.

Installation

Composer:

composer require gamee/php-jsonrpc

Configuration

config.neon

extensions:
	jsonRPCExtension: Gamee\JsonRPC\DI\JsonRPCExtension

jsonRPCExtension:
	methodsMapping:
		user.get: App\Command\Type\User\GetUserCommand
		user.resetPassword: App\Command\Type\User\ResetPasswordCommand
		# ...
	jsonSchemaFilesDir: %appDir%/../json-schema