Skip to content

Latest commit

History

History

.docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

Contributte / JSON-RPC

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.

Content

Installation

composer require contributte/jsonrpc

Configuration

config.neon

extensions:
	jsonRPCExtension: Contributte\JsonRPC\DI\JsonRPCExtension

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