apicart / fql
Filter Query Language
0.5.0
2025-12-05 15:09 UTC
Requires
- php: ^7.1|^8.0
Requires (Dev)
- phpstan/phpstan: ^0.12
- phpstan/phpstan-strict-rules: ^0.12
- phpunit/phpunit: ^7.5|^8.0
README
Apicart/FQL (Filter Query Language)
Write filter query as simple string via Filter Query Language (FQL) syntax. Filter query will be parsed into easy-to-use syntax tree.
Some FQL query example:
q:"samsung" AND introducedAt:["2018-01-01 00:00:00" TO NOW] AND NOT type:(tv OR "mobile phone") OR price:{10 TO *]
Installation
The simplest way to install Apicart/FQL is using Composer:
$ composer require apicart/fql