qoliber/djson
DJson
JSON that works with your data.
Build dynamic JSON with variables, loops and conditions while preserving data types. Use it for API responses, structured data or configuration: one reusable PHP library for the places your data needs to go.
Explore DJson