krg/doctrine-nestedsets (packagist): Library for working with tree structures in the database on the principle of "nested sets". A distinctive feature of the library is that it is possible to store several trees in one table. It is also not necessary to have one root node for each tree.
Keywords: doctrine|nested sets