rgilyov/array-tree-walker (packagist): Very easy way to parse arrays with tree structure
Keywords: tree|parse|nested array