Projects
View on GitHub
GriffinLedingham/php-apple-signin
GriffinLedingham/php-apple-signin has 201 GitHub stars and 88 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-17 19:29 UTC. Last push 2021-04-21.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
π Decode Apple Sign In client tokens in PHP
Developer ToolsREADME.md
Originalphp-apple-signin
PHP library to manage Sign In with Apple identifier tokens, and validate them server side passed through by the iOS client.
Installation
Use composer to manage your dependencies and download php-apple-signin:
composer require griffinledingham/php-apple-signin
Example
<?php
use AppleSignIn\ASDecoder;
$clientUser = "example_client_user";
$identityToken = "example_encoded_jwt";
$appleSignInPayload = ASDecoder::getAppleSignInPayload($identityToken);
/**
* Obtain the Sign In with Apple email and user creds.
*/
$email = $appleSignInPayload->getEmail();
$user = $appleSignInPayload->getUser();
/**
* Determine whether the client-provided user is valid.
*/
$isValid = $appleSignInPayload->verifyUser($clientUser);
?>