PHPackages                             vedatakdogan/apple-client-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. vedatakdogan/apple-client-php

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

vedatakdogan/apple-client-php
=============================

It provides a php service where you can use auth services for Apple devices.

1.1(2y ago)269PHP

Since Feb 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/spektra2147/apple-client-php)[ Packagist](https://packagist.org/packages/vedatakdogan/apple-client-php)[ RSS](/packages/vedatakdogan-apple-client-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

Apple Client PHP
================

[](#apple-client-php)

It provides a php service where you can use auth services for Apple devices.

How to remove Apple Signed Application Account
----------------------------------------------

[](#how-to-remove-apple-signed-application-account)

Please make sure you have the following information to use the library.

- key\_path : Key file "xxxxx.p8" given to you by Apple
- teamID(App ID Prefix) : You can find it in the information you created in the App ID field on the Certificates, Identifiers and Profiles screen.
- clientID (Bundle ID or Client ID or Services ID Ex: com.mapilio.main) : You can find it in the information you created in the App ID field on the Certificates, Identifiers and Profiles screen.
- keyID : The key ID generated with your xxxx.p8 file. It is located in the file name with the extension xxx.p8, which you have received from your Apple account.

### Create a Private Key (xxx.p8 file and key ID) for Client Authentication

[](#create-a-private-key-xxxp8-file-and-key-id-for-client-authentication)

Rather than using simple strings as OAuth client secrets, Apple has decided to use a public/private key pair, where the client secret is actually a signed JWT. This next step involves registering a new private key with Apple.

1. Certificates, Identifiers &amp; Profiles screen, choose Keys from the side navigation.
2. Click the blue plus icon to register a new key. Give your key a name, and check the Sign In with Apple checkbox.
3. Click the Configure button and select your primary App ID you created earlier.
4. Apple will generate a new private key for you and let you download it only once. Make sure you save this file, because you won’t be able to get it back again later! The file you download will end in .p8

### This library provides the following services.

[](#this-library-provides-the-following-services)

- Generate Client Secret
- Auth
- Revoke

You can review this example usage

```
  $appleClient = new \VedatAkdogan\AppleClient\AuthApple('xxxxxxxx.p8','XXXXXXXXXX','com.mapilio.main','XXXXXXXXXX');
  $remove_apple_account = $appleClient->revoke($request->auth_code);

```

For more, visit the Apple Official Developer page.

[https://developer.apple.com/documentation/sign\_in\_with\_apple/generate\_and\_validate\_tokens](https://developer.apple.com/documentation/sign_in_with_apple/generate_and_validate_tokens)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~100 days

Total

4

Last Release

881d ago

Major Versions

1.0.1 → v10.x-dev2023-12-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/f1513f423d85b6576155b0dedf76ba14e63a6c5ef5eeacbd5c31c66a48e24f68?d=identicon)[vedatakd](/maintainers/vedatakd)

---

Top Contributors

[![spektra2147](https://avatars.githubusercontent.com/u/39536659?v=4)](https://github.com/spektra2147 "spektra2147 (6 commits)")[![erhanask](https://avatars.githubusercontent.com/u/77926871?v=4)](https://github.com/erhanask "erhanask (1 commits)")

---

Tags

appleapple idsign-insign-outapple revokerevoke tokenremove icloud signed application account

### Embed Badge

![Health badge](/badges/vedatakdogan-apple-client-php/health.svg)

```
[![Health](https://phpackages.com/badges/vedatakdogan-apple-client-php/health.svg)](https://phpackages.com/packages/vedatakdogan-apple-client-php)
```

###  Alternatives

[hwi/oauth-bundle

Support for authenticating users using both OAuth1.0a and OAuth2 in Symfony.

2.4k21.5M69](/packages/hwi-oauth-bundle)[hybridauth/hybridauth

PHP Social Authentication Library

3.4k8.5M94](/packages/hybridauth-hybridauth)[azimolabs/apple-sign-in-php-sdk

Library to verify and validate Apple IdentityToken and authenticate a user with Apple ID.

92463.9k](/packages/azimolabs-apple-sign-in-php-sdk)[griffinledingham/php-apple-signin

A simple library to decode and parse Apple Sign In client tokens.

2011.9M1](/packages/griffinledingham-php-apple-signin)[patrickbussmann/oauth2-apple

Sign in with Apple OAuth 2.0 Client Provider for The PHP League OAuth2-Client

1132.5M6](/packages/patrickbussmann-oauth2-apple)[socialiteproviders/apple

Apple OAuth2 Provider for Laravel Socialite

618.4M8](/packages/socialiteproviders-apple)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
