Skip to content

Instantly share code, notes, and snippets.

@perials
perials / login.php
Last active Jan 19, 2020
Google login using PHP and Google Client Library version 2
View login.php
<?php
/*
* Please install Google client library using composer. Use below command
* composer require google/apiclient:"^2.0"
*/
// Turn ON error reporting
error_reporting(E_ALL);
ini_set('display_errors', 1);
You can’t perform that action at this time.