GCore Wrapper for PHP