Trying to make google sign in in localhost , using xampp server.
gives an error
Fatal error: Uncaught exception 'Google_Exception' with message 'The Google PHP API library needs the openssl PHP extension' in C:\xampp\htdocs\test\vendor\Signer\P12.php:38 Stack trace: #0 C:\xampp\htdocs\test\vendor\Auth\AssertionCredentials.php(130): Google_Signer_P12->__construct('0??????0?????*?...', 'notasecret') #1 C:\xampp\htdocs\test\vendor\Auth\AssertionCredentials.php(107): Google_Auth_AssertionCredentials->makeSignedJwt(Array) #2 C:\xampp\htdocs\test\vendor\Auth\OAuth2.php(312): Google_Auth_AssertionCredentials->generateAssertion() #3 C:\xampp\htdocs\test\vendor\Auth\OAuth2.php(239): Google_Auth_OAuth2->refreshTokenWithAssertion() #4 C:\xampp\htdocs\test\vendor\Auth\OAuth2.php(75): Google_Auth_OAuth2->sign(Object(Google_Http_Request)) #5 C:\xampp\htdocs\test\vendor\RpcHelper.php(69): Google_Auth_OAuth2->authenticatedRequest(Object(Google_Http_Request)) #6 C:\xampp\htdocs\test\vendor\GitkitClient.php(337): Gitkit_RpcHelper->getGitkitCerts() #7 C:\xampp\htdocs\test\vendor\GitkitClient.php(124): Gitkit_Client->ge in C:\xampp\htdocs\test\vendor\Signer\P12.php on line 38