Parser php url / rest boolean logic

Are there existing php modules / libraries / classes for parsing logical logic (and, or, not, in, not in, =, <,> and groupings) from the / url line?

I am creating a rest api in a database and would like to support advanced logical queries for column / field values ​​for each object.

My current reserve is supporting simple column filters (/ object / * / key / val) via php / sql and using our instance of solr database to support direct solr queries (which have tons of query functions). The only problem is that solr is not real-time data. This is up to 1-2 minutes of stagnation, which is not ideal.

+4
source share
1 answer

an answer has already been given here: How to parse a string of logical logic in PHP with some settings appropriate to your case

Bests

+1
source

All Articles