PHPackages                             xtwoend/query-string - 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. xtwoend/query-string

ActiveLibrary

xtwoend/query-string
====================

AddOn method sorts &amp; filter on request

012PHP

Since Feb 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/xtwoend/hyperf-query-string)[ Packagist](https://packagist.org/packages/xtwoend/query-string)[ RSS](/packages/xtwoend-query-string/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Hyperf Query
============

[](#hyperf-query)

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

[](#installation)

```
composer require xtwoend/query-string

```

add config in `bin/bootstrap.php`

```
$app->configure('query-builder');
$app->register(\Xtwoend\QueryString\ConfigProvider::class);

```

Usage
-----

[](#usage)

```

\\ ?sort[id]=1&sort[name]=0
$request->sorts();
\\ result ['id' => 'desc', 'name'=> 'asc']

\\ ?q=keyword
$request->filter();

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/707e862eb8fddef4791639520cae4efdc10855859dcf3aa74c1bafa46c5bb575?d=identicon)[xtwoend](/maintainers/xtwoend)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/xtwoend-query-string/health.svg)

```
[![Health](https://phpackages.com/badges/xtwoend-query-string/health.svg)](https://phpackages.com/packages/xtwoend-query-string)
```

PHPackages © 2026

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