The Client Library you used (https://github.com/evert/google-api-php-client) seems to be unmaintained - as mentioned in the project description, could you check if there are any alternatives? eg. https://github.com/widop/WidopGoogleAnalyticsBundle seems to be quite popular...

Also make sure you add the required dependencies to the composer.json file.