PHPackages                             yoanm/symfony-jsonrpc-params-validator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. yoanm/symfony-jsonrpc-params-validator

ActiveSymfony-bundle[Validation &amp; Sanitization](/categories/validation)

yoanm/symfony-jsonrpc-params-validator
======================================

Symfony bundle for easy JSON-RPC params validation

v3.0.2(8mo ago)1144.2k—6.6%2[3 PRs](https://github.com/yoanm/symfony-jsonrpc-params-validator/pulls)MITPHPPHP ^8.0CI failing

Since May 13Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/yoanm/symfony-jsonrpc-params-validator)[ Packagist](https://packagist.org/packages/yoanm/symfony-jsonrpc-params-validator)[ RSS](/packages/yoanm-symfony-jsonrpc-params-validator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (19)Versions (20)Used By (0)

Symfony JSON-RPC params validator
=================================

[](#symfony-json-rpc-params-validator)

[![License](https://camo.githubusercontent.com/0b2849991b0f3ac4dbf648127fde9769a996a004dd290a95b2c65cd7424451dd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f796f616e6d2f73796d666f6e792d6a736f6e7270632d706172616d732d76616c696461746f722e737667)](https://github.com/yoanm/symfony-jsonrpc-params-validator)[![Code size](https://camo.githubusercontent.com/6b90c639caf13937887ff709259caeefa0af9dc2a175232706f9a4383160c109/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f796f616e6d2f73796d666f6e792d6a736f6e7270632d706172616d732d76616c696461746f722e737667)](https://github.com/yoanm/symfony-jsonrpc-params-validator)[![Dependabot Status](https://camo.githubusercontent.com/41fb5c51d236c63e69e0bd6f67ca08e392fe0f75ad1e6627ae5971c9db05ceff/68747470733a2f2f666c61742e62616467656e2e6e65742f6769746875622f646570656e6461626f742f796f616e6d2f73796d666f6e792d6a736f6e7270632d706172616d732d76616c696461746f72)](https://camo.githubusercontent.com/41fb5c51d236c63e69e0bd6f67ca08e392fe0f75ad1e6627ae5971c9db05ceff/68747470733a2f2f666c61742e62616467656e2e6e65742f6769746875622f646570656e6461626f742f796f616e6d2f73796d666f6e792d6a736f6e7270632d706172616d732d76616c696461746f72)[![Last commit](https://camo.githubusercontent.com/e5b2df44b76d23d252db31688cc964a076cc2eb7189ef252866056c543768a52/68747470733a2f2f62616467656e2e6e65742f6769746875622f6c6173742d636f6d6d69742f796f616e6d2f73796d666f6e792d6a736f6e7270632d706172616d732d76616c696461746f72)](https://camo.githubusercontent.com/e5b2df44b76d23d252db31688cc964a076cc2eb7189ef252866056c543768a52/68747470733a2f2f62616467656e2e6e65742f6769746875622f6c6173742d636f6d6d69742f796f616e6d2f73796d666f6e792d6a736f6e7270632d706172616d732d76616c696461746f72)

[![Scrutinizer Build Status](https://camo.githubusercontent.com/496034dd5aca177baab440c73e5e4258d1aac40d1465090e88c62c155b146327/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f796f616e6d2f73796d666f6e792d6a736f6e7270632d706172616d732d76616c696461746f722e7376673f6c6162656c3d5363727574696e697a6572266c6f676f3d7363727574696e697a6572)](https://scrutinizer-ci.com/g/yoanm/symfony-jsonrpc-params-validator/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/12dc24f97ade866e86f28f83738864944013f565a96dd0590130baac9d081f6e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f796f616e6d2f73796d666f6e792d6a736f6e7270632d706172616d732d76616c696461746f722f6d61737465722e7376673f6c6f676f3d7363727574696e697a6572)](https://scrutinizer-ci.com/g/yoanm/symfony-jsonrpc-params-validator/?branch=master)[![Codacy Badge](https://camo.githubusercontent.com/9fb44e29c9d4bd4ecd206541fbd305938a5a0dbcc15fdab5d1db97a7a24ce23a/68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3866333934323461646430343462343361373062646232333865326634386462)](https://www.codacy.com/gh/yoanm/symfony-jsonrpc-params-validator/dashboard?utm_source=github.com&utm_medium=referral&utm_content=yoanm/symfony-jsonrpc-params-validator&utm_campaign=Badge_Grade)

[![CI](https://github.com/yoanm/symfony-jsonrpc-params-validator/actions/workflows/CI.yml/badge.svg?branch=master)](https://github.com/yoanm/symfony-jsonrpc-params-validator/actions/workflows/CI.yml)[![codecov](https://camo.githubusercontent.com/12bd5bc0fb7aeb3a792ea50d4b6ef42357e4a62aa70e45a04e4d740ddef98887/68747470733a2f2f636f6465636f762e696f2f67682f796f616e6d2f73796d666f6e792d6a736f6e7270632d706172616d732d76616c696461746f722f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d4e486477454255464b35)](https://codecov.io/gh/yoanm/symfony-jsonrpc-params-validator)[![Symfony Versions](https://camo.githubusercontent.com/a0f96454a73e2467cd8e9274759de603045720eb9f2e4770b01951d648720bc4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d76352e3425323025324625323076362e3425323025324625323076372e782d3838393242462e7376673f6c6f676f3d676974687562)](https://symfony.com/)

[![Latest Stable Version](https://camo.githubusercontent.com/393fe14ddb19307f2ee29764b145d9944135a4ae98dda5a761477e736205e525/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f796f616e6d2f73796d666f6e792d6a736f6e7270632d706172616d732d76616c696461746f722e737667)](https://packagist.org/packages/yoanm/symfony-jsonrpc-params-validator)[![Packagist PHP version](https://camo.githubusercontent.com/5830c1a0d659c630de37eb53ba8177ea0087b5830fd0ae25b96567369c664e20/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f796f616e6d2f73796d666f6e792d6a736f6e7270632d706172616d732d76616c696461746f722e737667)](https://packagist.org/packages/yoanm/symfony-jsonrpc-params-validator)

Easy JSON-RPC params validation for [`yoanm/symfony-jsonrpc-http-server`](https://github.com/yoanm/symfony-jsonrpc-http-server)

Symfony bundle for [`yoanm/jsonrpc-params-symfony-validator-sdk`](https://github.com/yoanm/php-jsonrpc-params-symfony-validator-sdk)

See [yoanm/symfony-jsonrpc-params-sf-constraints-doc](https://github.com/yoanm/symfony-jsonrpc-params-sf-constraints-doc) for documentation generation.

Versions
--------

[](#versions)

- Symfony v3/4 - PHP &gt;=7.1 : `^v1.0`
- Symfony v4/5 - PHP &gt;=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`
- Symfony v5.4/6.4/7.x - PHP ^8.0 : `^v3.0`

How to use
----------

[](#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
-------------

[](#configuration)

Bundle requires only one thing :

- JSON-RPC Methods which are compatible with
    - [`yoanm/symfony-jsonrpc-http-server`](https://github.com/yoanm/symfony-jsonrpc-http-server)
    - and [`yoanm/jsonrpc-params-symfony-validator-sdk`](https://github.com/yoanm/php-jsonrpc-params-symfony-validator-sdk)

Register JSON-RPC methods as described on [`yoanm/symfony-jsonrpc-http-server`](https://github.com/yoanm/symfony-jsonrpc-http-server) documentation.

Contributing
------------

[](#contributing)

See [contributing note](./CONTRIBUTING.md)

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance70

Regular maintenance activity

Popularity35

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 92.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~179 days

Recently: every ~3 days

Total

16

Last Release

245d ago

Major Versions

v0.3.0 → v1.0.02020-03-27

v1.0.x-dev → v2.0.02020-03-28

v2.1.2 → v3.0.02025-09-03

PHP version history (4 changes)v0.0.1-alphaPHP &gt;=5.5

v0.1.0PHP &gt;=7.1

v0.3.0PHP &gt;=7.2

v2.1.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4410697?v=4)[yoanm](/maintainers/yoanm)[@yoanm](https://github.com/yoanm)

---

Top Contributors

[![yoanm](https://avatars.githubusercontent.com/u/4410697?v=4)](https://github.com/yoanm "yoanm (50 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")

---

Tags

json-rpcparams-validatorphpsymfony-bundlesymfony-jsonrpc-http-serversymfony-validator

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/yoanm-symfony-jsonrpc-params-validator/health.svg)

```
[![Health](https://phpackages.com/badges/yoanm-symfony-jsonrpc-params-validator/health.svg)](https://phpackages.com/packages/yoanm-symfony-jsonrpc-params-validator)
```

###  Alternatives

[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k172.9M1.8k](/packages/symfony-security-bundle)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[cuyz/valinor-bundle

Symfony integration of `cuyz/valinor` — a library that helps to map any input into a strongly-typed value object structure.

51215.0k2](/packages/cuyz-valinor-bundle)[digitalrevolution/symfony-request-validation

Automatic request validation for symfony

1296.0k](/packages/digitalrevolution-symfony-request-validation)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
