I\'m trying to implement Google\'s login API via the instructions here, but for some reason, when I try to run it, I always get:
Fatal error: Class \'
Instead of keeping vendor folder in root folder, keep it in google-api-php-client-master folder and use the following line to include it in your project
require_once DIR.'/google-api-php-client-master/vendor/autoload.php';