Easy JSON-RPC params validation for yoanm/symfony-jsonrpc-http-server
Symfony bundle for yoanm/jsonrpc-params-symfony-validator-sdk
See yoanm/symfony-jsonrpc-params-sf-constraints-doc for documentation generation.
-
Symfony v3/4 - PHP >=7.1 :
^v1.0
-
Symfony v4/5 - PHP >=7.2 :
^v2.0
⚠️ ⚠️ v0.2.0
is replaced byv1.0.0
!⚠️ ⚠️ ⚠️ ⚠️ v0.3.0
was badly taggued, usedv2.0.0
instead !⚠️ ⚠️ -
Symfony v4.4/5.4/6.x - PHP ^8.0 :
^v2.1
Once configured, simply send JSON-RPC request to the server and validator will automatically validate params.
See below how to configure it.
Bundle requires only one thing :
- JSON-RPC Methods which are compatible with
Register JSON-RPC methods as described on yoanm/symfony-jsonrpc-http-server
documentation.