clue/json-query 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

clue/json-query

最新稳定版本:v0.3.0

Composer 安装命令:

composer require clue/json-query

包简介

JSON query language filter in PHP

README 文档

README

An implementation of the JSON Query Language specification in PHP.

The JSON Query Language specification is currently in draft mode. This library implements the v0.4 draft.

Note: This project is in beta stage! Feel free to report any issues you encounter.

Quickstart example

Once installed, you can use the following code to get started:

$filter = new QueryExpressionFilter(array('age' => 20));

$filter->doesMatch(array('name' => 'Tester', 'age' => 20))); // true
$filter->doesMatch(array('name' => 'Tester', 'age' => 22))); // false

Install

The recommended way to install this library is through composer. New to composer?

{
    "require": {
        "clue/json-query": "~0.3.0"
    }
}

License

MIT

统计信息

  • 总下载量: 15.8k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 30
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 30
  • Watchers: 5
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-08-21