PHP library that helps maintain adjacency list SQL structures