Some helpful functions for using PHP with GitHub