Skip to content

Instantly share code, notes, and snippets.

Perials perials

Block or report user

Report or block perials

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@perials
perials / login.php
Last active Apr 8, 2019
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.