boyaa / sign_in_with_apple_code
Apple authorization code login
v1.0.0
2020-04-13 10:32 UTC
This package is auto-updated.
Last update: 2025-06-28 14:48:54 UTC
README
Install
{ "require": { "boyaa/sign_in_with_apple_code": "1.0.0" } }
Example
<?php require('vendor/autoload.php'); use AppleSignIn\AppleAuth; # Save your private key from Apple in a file called `key.txt` $key = '' ; # Your 10-character Team ID $teamId = ''; # Your Services ID, e.g. com.aaronparecki.services $clientId = ''; # Find the 10-char Key ID value from the portal $keyId = ''; $clientSecret = AppleAuth::createClientSecret($teamId, $clientId, $key, $keyId); var_dump($clientSecret);