wlogic/qbjs-parser
最新稳定版本:1.1.5
Composer 安装命令:
composer require wlogic/qbjs-parser
包简介
Parse JSON coming from jQuery QueryBuilder, into database queries.
关键字:
README 文档
README
Parse JSON coming from jQuery QueryBuilder, such as
{ "condition": "AND", "rules": [ { "id": "price", "field": "price", "type": "double", "input": "text", "operator": "less", "value": "10.25" } ] } Installation
$ composer require fourlabs/qbjs-parser
Quick Tour
FL\QBJSParser\Serializer\JsonDeserializer::deserialize()deserializes a JSON string into an instance ofFL\QBJSParser\Model\RuleGroup- This
RuleGroupobject can then be parsed into something your ORM/ODM can use, to create a query. - Parsers live at
FL\QBJSParser\Parser.
Available Parsers
Tests
To run the test suite, you need composer.
$ composer install $ phpunit
License
QBJSParser is licensed under the MIT license.
统计信息
- 总下载量: 44.36k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04