balping/json-raw-encoder
Laravel helper for encoding JSON while preserving “raw” fragments (like JS functions or pre-encoded JSON) without extra quoting/escaping. Handy for configs and API payloads when parts must stay untouched, with a simple API and reliable output.
Use this package to encode arrays to JSON with raw JS objects (eg. callbacks) in them.
How can I help you explore Laravel packages today?