dominator/tree (packagist): Library for handling tree structures based on parent IDs, e.g. a self-joined database table
Keywords: tree|hierarchical