flow/jsonpath
PHP JSONPath implementation for querying and extracting data with XPath-like expressions. Object-oriented, tokenized/cached parser (no eval) and works with arrays, objects, and ArrayAccess. Note: this repo is unmaintained; see SoftCreatR/JSONPath.
flow/jsonpath is a PHP implementation of JSONPath, an XPath-like expression language for querying, filtering, and extracting data from JSON-like structures (arrays/objects). It parses expressions into cached tokens (Doctrine Lexer–inspired) for repeated queries and avoids using eval() for safer execution.
Note: this repository is no longer maintained; active maintenance continues at https://github.com/SoftCreatR/JSONPath.
composer require flow/jsonpath (PHP 7.1+)How can I help you explore Laravel packages today?