google-api-php-client icon indicating copy to clipboard operation
google-api-php-client copied to clipboard

143 MB

Open Dmole opened this issue 11 months ago • 0 comments

143 MB is ridiculous. Surly minimal modulus could be made available? I just want the email from a JWT, I don't even need it verified in PHP. I can do this with ~3 line of code, the other 2,787,797 lines of code are bloat. eg:

$body = explode('.', $_POST["credential"])[1];
$body = base64_decode(str_replace('_', '/', str_replace('-', '+', $body)));
$email = json_decode($body)->{"email"};

The GSI guide offers this client as the only option.

This could be better!

Dmole avatar Jan 06 '25 01:01 Dmole