hypervel / jmespath
JMESPath expressions with compile-time limits and an evaluation budget for Hypervel.
Requires
- php: ^8.4
- ext-mbstring: *
- hypervel/attributes: ^0.4
- hypervel/console: ^0.4
- hypervel/container: ^0.4
- hypervel/contracts: ^0.4
- hypervel/coroutine: ^0.4
- hypervel/filesystem: ^0.4
- hypervel/support: ^0.4
- symfony/console: ^8.1.10
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-12-03 12:06:37 UTC
README
Documentation: https://hypervel.org/docs/jmespath
Differences From jmespath.php
Use the JmesPath facade or inject Factory to search data. Hypervel caches compiled expressions in worker memory. Each search has its own evaluation budget, and applications can set limits on expression size and depth.
The JMESPath specification is Hypervel’s language baseline. Hypervel adopts upstream additions such as lexical variables when they solve a useful query problem, preserve existing expressions, and fit its compilation and evaluation limits.
The default mode preserves JSON objects as stdClass. Pass associative: true to work with data decoded as PHP arrays.
Hypervel searches decoded JSON values. Convert PHP collections, Stringable objects, and JsonSerializable objects to their JSON values before searching. Implicit conversion can run application code, such as a lazy iterator that queries a database. The evaluator can limit the work it does on each value, but it cannot limit the work application code does to produce that value.
Ported from: https://github.com/jmespath/jmespath.php