PHPackages                             skowronline/query-param-validator-bundle - 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. skowronline/query-param-validator-bundle

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

skowronline/query-param-validator-bundle
========================================

Validate Query Param values

v1.0.0(9y ago)124MITPHPPHP ^5.5.9|^7.0.0

Since Jan 5Pushed 3y ago2 watchersCompare

[ Source](https://github.com/skowron-line/QueryParamValidatorBundle)[ Packagist](https://packagist.org/packages/skowronline/query-param-validator-bundle)[ RSS](/packages/skowronline-query-param-validator-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

QueryParamValidatorBundle
=========================

[](#queryparamvalidatorbundle)

Bundle helps you validate request query string values

[![Build Status](https://camo.githubusercontent.com/1983e6a914a3d52bfa91ef63694d2036d846dd35670f0e01ac412023761b0052/68747470733a2f2f7472617669732d63692e6f72672f736b6f77726f6e2d6c696e652f5175657279506172616d56616c696461746f7242756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/skowron-line/QueryParamValidatorBundle) [![codecov.io](https://camo.githubusercontent.com/79915c6f1a12a28d86410d52462d79a03e0f300c1724897118d30624333a90ba/68747470733a2f2f636f6465636f762e696f2f6769746875622f736b6f77726f6e2d6c696e652f5175657279506172616d56616c696461746f7242756e646c652f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/github/skowron-line/QueryParamValidatorBundle?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/423bf8b608de758d6cdfc7e2bb304baeb84a8c0813d7b9e038570202bb616f8c/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f62663161613434312d613539612d346262662d623437652d6138353265653763343832612f6d696e692e706e67)](https://insight.sensiolabs.com/projects/bf1aa441-a59a-4bbf-b47e-a852ee7c482a)

Installation
============

[](#installation)

```
composer require skowronline/query-param-validator-bundle

```

```
// app/config.yml
imports:
    ...
    - { resource: '@SkowronlineQueryParamValidatorBundle/Resources/config/services.yml' }
```

Usage
=====

[](#usage)

```
/**
 * @QueryParam("order", allowed={"asc", "desc"}, required=true)
 */
public function indexAction()
```

```
/route -> 404 Page Not Found
/route?order=asc -> 200 Ok
/route?order=desc -> 200 Ok
/route?order=random -> 404 Page Not Found

```

You can use multiple annotations

```
/**
 * @QueryParam("order", allowed={"asc", "desc"}, required=true)
 * @QueryParam("page", required=false)
 */
public function indexAction()
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

3464d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/648572?v=4)[K.Skaradziński](/maintainers/skowron-line)[@skowron-line](https://github.com/skowron-line)

---

Top Contributors

[![skowron-line](https://avatars.githubusercontent.com/u/648572?v=4)](https://github.com/skowron-line "skowron-line (25 commits)")

---

Tags

querystringvalidation

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/skowronline-query-param-validator-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/skowronline-query-param-validator-bundle/health.svg)](https://phpackages.com/packages/skowronline-query-param-validator-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M724](/packages/sylius-sylius)[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.4k67.4M258](/packages/nelmio-api-doc-bundle)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M497](/packages/pimcore-pimcore)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[illuminate/validation

The Illuminate Validation package.

18838.2M1.7k](/packages/illuminate-validation)

PHPackages © 2026

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