ergebnis/json-pointer
RFC 6901 JSON Pointer abstraction for PHP. Create and convert reference tokens and pointers from plain strings, JSON string form, or URI fragment identifiers, with correct escaping and encoding. Install via Composer and use small, typed value objects.
PropertyAccess).Adopt if:
jsonpatch).strict_types and scalar return types).Look elsewhere if:
jsonpath libraries).For Executives: "This package lets us handle nested JSON data like a pro—think of it as ‘dot notation on steroids’ for APIs and configs. It’s RFC-compliant, lightweight, and future-proofs our data pipelines for features like dynamic updates or audit trails. Minimal risk (MIT license, active maintenance), and it’ll save dev time on boilerplate code."
For Engineers: *"Need to traverse/modify JSON safely and efficiently? This gives you:
isset($data['a']['b']['c']) spaghetti).jsonpatch).json_decode($request->input(), true)['user']['profile']['avatar'] with $pointer->get($json, '/user/profile/avatar')—cleaner, safer, and scalable."*For PMs: "This is a ‘hidden gem’ for teams building APIs, configs, or data tools. It’s the difference between hacky nested array access and a robust, maintainable architecture. Low effort to adopt, high payoff for data-heavy features."
How can I help you explore Laravel packages today?