Repository navigation
Initial Release
π Initial Public Release β v0.1.0
This is the first public release of PropPath, a powerful, extensible query engine for extracting deeply nested values from PHP arrays and objects using concise path expressions.
Inspired by JSONPath, PropPath offers a clean, predictable, and expressive syntax tailored for PHP codebases. Paths are compiled into fast, memoizable closures, making them ideal for use in DTO mappers, normalizers, transformation layers, and more.
β¨ Highlights
- Unified syntax for arrays, objects, and
ArrayAccess - Wildcards (
*) and recursive traversal (**) - Fallback resolution (
??) and bracketed multi-key mappings - Flattening (
~,@~) and grouping support - Structured mode via nested array definitions
- Integration-ready with DTO systems, including
dto-toolkit - 100% test coverage, Psalm level 1, fully documented
See the README for usage examples and the full syntax reference.