ergebnis/json-pointer
RFC 6901 JSON Pointer abstraction for PHP. Create, parse, and encode reference tokens from plain strings, JSON strings, or URI fragment identifiers, with helpers to output JSON-safe and URI-safe forms. Install via Composer: ergebnis/json-pointer.
ergebnis/json-pointer is a small PHP package that models JSON Pointer (RFC 6901) concepts with safe, explicit value objects. It helps you build and transform pointer parts without hand-rolling escaping rules for JSON strings or URI fragments.
Use it to convert between raw strings, JSON string representation, and URI fragment identifier formats—useful when working with JSON Patch, configuration trees, or APIs that address JSON members by pointer.
toString(), toJsonString(), and toUriFragmentIdentifierString()~0, ~1)How can I help you explore Laravel packages today?