 <p>You should check out the update <a href="https://developers.google.com/analytics/devguides/reporting/core/v3/quickstart/" rel="nofollow">Hello Analytics API</a> docs. That way you only need to use the <a href="https://github.com/google/google-api-php-client" rel="nofollow">Google APIs Client Library</a> for PHP and not any third party tool.</p>