yoanm/symfony-jsonrpc-params-validator

Symfony bundle for easy JSON-RPC params validation

v2.0.2 2020-07-09 11:44 UTC

This package is auto-updated.

Last update: 2022-05-09 15:43:45 UTC


README

License Code size Dependabot Status

Scrutinizer Build Status Scrutinizer Code Quality Code Coverage

Travis Build Status Travis Symfony Versions

Latest Stable Version Packagist PHP version

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.

Versions

  • Symfony v3/4 - PHP >=7.1 : ^v1.0
  • Symfony v4/5 - PHP >=7.2 : ^v2.0

⚠️⚠️ v0.2.0 is replaced by v1.0.0 ! ⚠️⚠️

⚠️⚠️ v0.3.0 was badly taggued, used v2.0.0 instead ! ⚠️⚠️

How to use

Once configured, simply send JSON-RPC request to the server and validator will automatically validate params.

See below how to configure it.

Configuration

Bundle requires only one thing :

Register JSON-RPC methods as described on yoanm/symfony-jsonrpc-http-server documentation.

Contributing

See contributing note