PHPackages                             pmaxs/path2query-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. [API Development](/categories/api)
4. /
5. pmaxs/path2query-bundle

ActiveSymfony-bundle[API Development](/categories/api)

pmaxs/path2query-bundle
=======================

Symfony Path2queryBundle

v4.0.1(2y ago)1314MITPHPPHP &gt;=8.2

Since Apr 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/pmaxs/Path2queryBundle)[ Packagist](https://packagist.org/packages/pmaxs/path2query-bundle)[ Docs](https://github.com/pmaxs/Path2queryBundle)[ RSS](/packages/pmaxs-path2query-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

Symfony Path2queryBundle
========================

[](#symfony-path2querybundle)

Symfony bundle adds query vars to Request from path.

Installation
------------

[](#installation)

```
composer require pmaxs/path2query-bundle

```

Usage
-----

[](#usage)

Add param `__path2query__` with default value `""` and requirement `".*"`. Such routes are processed by this bundle in order to add query vars to Request from path.

Ex.:

```
class DefaultController extends AbstractController
{
    /**
     * @Route("/xxx/{__path2query__}", requirements={"__path2query__"=".*"}, defaults={"__path2query__"=""})
     */
    public function indexAction(Request $request)
    {
        // for path /xxx/var1/val1/var2/val2
        $request->get('var1') // val1
        $request->get('var2') // val2
    }
}
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity73

Established project with proven stability

 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

Every ~243 days

Recently: every ~300 days

Total

7

Last Release

770d ago

Major Versions

v1.0.0 → v2.0.02020-08-01

v2.1.0 → v3.0.02021-09-06

v3.0.0 → v4.0.02024-03-19

PHP version history (2 changes)v1.0.0PHP ^5.5.9 || ^7.0

v4.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/c7294f5e2221c037b8bd384e8a97443b2a6bad532283955fe1ce317182798a80?d=identicon)[pmaxs](/maintainers/pmaxs)

---

Top Contributors

[![pmaxs](https://avatars.githubusercontent.com/u/3104249?v=4)](https://github.com/pmaxs "pmaxs (4 commits)")

---

Tags

symfonybundlepath2query

### Embed Badge

![Health badge](/badges/pmaxs-path2query-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/pmaxs-path2query-bundle/health.svg)](https://phpackages.com/packages/pmaxs-path2query-bundle)
```

###  Alternatives

[stfalcon-studio/api-bundle

Base classes and helper services to build API application via Symfony.

1032.1k](/packages/stfalcon-studio-api-bundle)[ufo-tech/json-rpc-sdk-bundle

The Symfony bundle for simple usage Json-RPC api with dynamic SDK

172.5k](/packages/ufo-tech-json-rpc-sdk-bundle)

PHPackages © 2026

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