PHPackages                             tomas-kulhanek/query-search - 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. [Search &amp; Filtering](/categories/search)
4. /
5. tomas-kulhanek/query-search

ActiveLibrary[Search &amp; Filtering](/categories/search)

tomas-kulhanek/query-search
===========================

v3.1.0(5mo ago)13.1k1MITPHPPHP &gt;=8.1CI passing

Since Mar 22Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/tomas-kulhanek/query-search)[ Packagist](https://packagist.org/packages/tomas-kulhanek/query-search)[ Docs](https://gitlab.com/tomas-kulhanek/query-search)[ Fund](https://www.paypal.me/helppc)[ GitHub Sponsors](https://github.com/tomas-kulhanek)[ RSS](/packages/tomas-kulhanek-query-search/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (7)Dependencies (2)Versions (13)Used By (1)

Search Expression in query
==========================

[](#search-expression-in-query)

Filter operations
-----------------

[](#filter-operations)

Start with`:~`End with`~:`Like`~`Not like`!~`Bigger than`:`Equal`:`Not equal`!:`FILTER
------

[](#filter)

```
http://your.id/path?q=foo:keyword
http://your.id/path?q=foo:keyword,bar!~other

```

### Asterisk

[](#asterisk)

```
http://your.id/path?q=foo:keyword*
http://your.id/path?q=foo:keyword*,bar!~*other,foo2:*key*

```

SORTING
-------

[](#sorting)

```
http://your.id/path?sort=foo:desc,other:asc

```

PAGING
------

[](#paging)

```
http://your.id/path?limit=30&offset=60

```

Example output
--------------

[](#example-output)

```
TomasKulhanek\QuerySearch\Params\RequestParams {
  #filters: array:3 [
    0 => TomasKulhanek\QuerySearch\Params\Filter {
      #field: "foo"
      #operator: ":"
      #value: "keyword"
      #startWithAsterisk: false
      #endWithAsterisk: true
    }
    1 => TomasKulhanek\QuerySearch\Params\Filter {
      #field: "bar"
      #operator: "!~"
      #value: "other"
      #startWithAsterisk: true
      #endWithAsterisk: false
    }
    2 => TomasKulhanek\QuerySearch\Params\Filter {
      #field: "foo2"
      #operator: ":"
      #value: "key"
      #startWithAsterisk: true
      #endWithAsterisk: true
    }
  ]
  #sorts: array:2 [
    0 => TomasKulhanek\QuerySearch\Params\Sort {
      #field: "foo"
      #direction: "desc"
    }
    1 => TomasKulhanek\QuerySearch\Params\Sort {
      #field: "other"
      #direction: "asc"
    }
  ]
  #pagination: TomasKulhanek\QuerySearch\Params\Pagination {
    #limit: 30
    #offset: 60
  }
}

```

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance73

Regular maintenance activity

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity69

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 ~196 days

Recently: every ~180 days

Total

10

Last Release

155d ago

Major Versions

v1.0.1 → v2.0.02021-04-18

v2.1.0 → v3.0.02024-01-31

v2.3.0 → v3.1.02026-01-23

PHP version history (2 changes)v1.0.0PHP &gt;=8.0

v3.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7447745?v=4)[Tomáš Kulhánek](/maintainers/tomas-kulhanek)[@tomas-kulhanek](https://github.com/tomas-kulhanek)

---

Top Contributors

[![tomas-kulhanek](https://avatars.githubusercontent.com/u/7447745?v=4)](https://github.com/tomas-kulhanek "tomas-kulhanek (16 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tomas-kulhanek-query-search/health.svg)

```
[![Health](https://phpackages.com/badges/tomas-kulhanek-query-search/health.svg)](https://phpackages.com/packages/tomas-kulhanek-query-search)
```

###  Alternatives

[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k853.6M8.3k](/packages/symfony-http-kernel)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k246.0M11.1k](/packages/symfony-framework-bundle)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M376](/packages/easycorp-easyadmin-bundle)[symfony/security-bundle

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

2.5k181.3M2.2k](/packages/symfony-security-bundle)[symfony/security-http

Symfony Security Component - HTTP Integration

1.7k172.8M348](/packages/symfony-security-http)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k50.1M314](/packages/api-platform-core)

PHPackages © 2026

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