tonirilix/nested-json-flattener (packagist): A php package to flatten nested json objects and nested arrays. It also allows you to create csv files from the flattened data.
Keywords: json|csv|csv writer|nested json|convert json to csv|Flatten nested json|json flattener