PHPackages                             canopytax/jql - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. canopytax/jql

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

canopytax/jql
=============

10246PHP

Since Aug 17Pushed 8y ago21 watchersCompare

[ Source](https://github.com/canopytax/Json-Query-Language)[ Packagist](https://packagist.org/packages/canopytax/jql)[ RSS](/packages/canopytax-jql/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Canopy JQL (JSON Query Language)
================================

[](#canopy-jql-json-query-language)

JQL - Json Query Language
-------------------------

[](#jql---json-query-language)

JQL is a json query language.

A single query looks like:

```
{
  "field": "model.fieldname",
  "operator": "lt",
  "value": "value"
}
```

### Operators

[](#operators)

- `lt` = ``,
- `lte` = `=`,
- `eq` = `=`,
- `ne` = `!=`,
- `beginswith`
- `endswith`
- `contains`
- `in`

### Example:

[](#example)

```
{
  "jql": [
    {
      "field": "mammals.A",
      "operator": "in",
      "value": ["A", "B", "C"]
    },
    {
      "field": "mammals.B",
      "operator": "eq",
      "value": "false"
    },
    {
      "OR": [
        {
          "field": "birds.C",
          "operator": "eq",
          "value": "true"
        },
        {
          "field": "mammals.D",
          "operator": "eq",
          "value": "true"
        },
        {
          "field": "mammals.E",
          "operator": "eq",
          "value": "true"
        },
        {
          "OR": [
            {
              "field": "dogs.F",
              "operator": "eq",
              "value": "true"
            },
            {
              "field": "dogs.G",
              "operator": "eq",
              "value": "true"
            },
            [
              {
                "field": "cats.H",
                "operator": "eq",
                "value": "true"
              },
              {
                "field": "cats.I",
                "operator": "eq",
                "value": "true"
              }
            ]
          ]
        }
      ]
    },
    {
      "field": "dogs.J",
      "operator": "eq",
      "value": "true"
    }
  ]
}
```

Requirements
------------

[](#requirements)

- PHP &gt;=5.5

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

[](#contributing)

Contributions to the JQL package are welcome. Please note the following guidelines before submiting your pull request.

- Follow [PSR-2](http://www.php-fig.org/psr/psr-2/) coding standards.
- Write tests for new functions and added features

License
-------

[](#license)

Canopy/JQL is licensed under the [MIT License](http://opensource.org/licenses/MIT).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/28348e4183f09f40c7d40f3ff7ac840b9e0d428f0c4675ae7172ce83cf56c69b?d=identicon)[alairock](/maintainers/alairock)

![](https://www.gravatar.com/avatar/69fdaa3f4f939948fb696dd2c623d48efbeea2ebbeee2b740de4fd4b1f302d80?d=identicon)[kweejee](/maintainers/kweejee)

---

Top Contributors

[![tredmond-canopy](https://avatars.githubusercontent.com/u/258924897?v=4)](https://github.com/tredmond-canopy "tredmond-canopy (33 commits)")[![alairock](https://avatars.githubusercontent.com/u/1480236?v=4)](https://github.com/alairock "alairock (4 commits)")[![kweejee](https://avatars.githubusercontent.com/u/83756?v=4)](https://github.com/kweejee "kweejee (1 commits)")[![rlittlefield](https://avatars.githubusercontent.com/u/290970?v=4)](https://github.com/rlittlefield "rlittlefield (1 commits)")

### Embed Badge

![Health badge](/badges/canopytax-jql/health.svg)

```
[![Health](https://phpackages.com/badges/canopytax-jql/health.svg)](https://phpackages.com/packages/canopytax-jql)
```

###  Alternatives

[icehouse-ventures/laravel-mermaid

Simple package to generate diagrams in Laravel using the Mermaid.js library

2630.0k](/packages/icehouse-ventures-laravel-mermaid)

PHPackages © 2026

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