We need to set up the Google OAuth 2 API and integrate it with our installation of Yii, and we need to use the Google API console to set up access to the services we want to use.
The PHP implementation of the Google OAuth 2 API requires curl for PHP. If you are using XAMPP on Linux, it should already be enabled. You can verify this by going to
http://localhost/xampp/phpinfo.php and looking for the section labeled
curl or the option
google-api-php-clientand download the latest version from the downloads page. Extract it to
protected/vendorsin your Yii directory (if the
vendorssubdirectory does not exist, create it in