One of the historically popular programming languages that didn't have a library was PHP. Many years ago I published some sample PHP code (
https://json-stat.org/tools/php) and Simon Speich also wrote a solution to render JSON-stat v2.0 data with any number of dimensions as an HTML table using PHP (
https://github.com/lfiweb/jsonstat-phpviz) which, internally, has its own JSON-stat library.
None of these solutions were general (Simon's supported only v2.0 and technically was not a public documented library; and the sample code was just an example). That's why I've finally decided to fill this void.
The JSON-stat PHP library mainly focuses on providing general solutions for the more flexible aspects of JSON-stat like handling 'value', 'status', or dimension information. For the properties that don't require normalization, the library offers the getJSONstat() method that exposes all the elements of a JSON-stat dataset response. Finally, the unflatten() method can be used to pair data and metadata.