Class to access githubAPI via PHP