An open API service indexing awesome lists of open source software.

https://github.com/adamwojs/json-expr

Experimental library to build complex search criteria in MongoDB style
https://github.com/adamwojs/json-expr

experimental mongodb php php-library rest rest-api

Last synced: 9 months ago
JSON representation

Experimental library to build complex search criteria in MongoDB style

Awesome Lists containing this project

README

          

# JSON-EXPR

JSON-EXPR (working title) is experimental library to build complex search criteria in MongoDB style e.g.

```
{
"$and": [
{
"$or": [
{
"foo": {
"$eq": "A"
}
},
{
"foo": {
"$eq": "B"
}
}
]

},
{
"bar": {
"$gt": 100
}
}
]
}
```

## Project status

Proof of concept

## Requirements

* PHP >= 7.0

## Usage examples

* RESTful search/filtering