symfony-jsonrpc-params-validator

Symfony bundle for easy JSON-RPC params validation

MIT License

Downloads
97.3K
Stars
1
Committers
3

Symfony JSON-RPC params validator

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 ! ⚠️⚠️

  • Symfony v4.4/5.4/6.x - PHP ^8.0 : ^v2.1

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

Package Rankings
Top 14.0% on Packagist.org
Badges
Extracted from project README's
License Code size Dependabot Status Scrutinizer Build Status Scrutinizer Code Quality Codacy Badge CI codecov Symfony Versions Latest Stable Version Packagist PHP version
Related Projects