PHP implementation of Graphdat API