PHPackages                             ahilmurugesan/socialite-apple-helper - 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. ahilmurugesan/socialite-apple-helper

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

ahilmurugesan/socialite-apple-helper
====================================

Laravel Socialite Apple Login Helper to generate and manage Client Secret

0.7.5(5y ago)13120.7k↓30.5%12[4 issues](https://github.com/Ahilmurugesan/socialite-apple-helper/issues)MITPHPCI failing

Since Apr 28Pushed 5y ago2 watchersCompare

[ Source](https://github.com/Ahilmurugesan/socialite-apple-helper)[ Packagist](https://packagist.org/packages/ahilmurugesan/socialite-apple-helper)[ RSS](/packages/ahilmurugesan-socialite-apple-helper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (7)Used By (0)

Socialite - Apple Helper
========================

[](#socialite---apple-helper)

[![Total Downloads](https://camo.githubusercontent.com/863cc97a2ff0a94d600b34994aab99b0bb4b59f691140bfc0b461fa373ad439b/68747470733a2f2f706f7365722e707567782e6f72672f6168696c6d757275676573616e2f736f6369616c6974652d6170706c652d68656c7065722f642f746f74616c2e737667)](https://packagist.org/packages/ahilmurugesan/socialite-apple-helper)[![Latest Stable Version](https://camo.githubusercontent.com/5c72674f8e65a7dc299d65ec76af503ed38bfb99e58b841b0c25c46835414472/68747470733a2f2f706f7365722e707567782e6f72672f6168696c6d757275676573616e2f736f6369616c6974652d6170706c652d68656c7065722f762f737461626c652e737667)](https://packagist.org/packages/ahilmurugesan/socialite-apple-helper)[![License](https://camo.githubusercontent.com/96d5483752b14740db68d19a9210eaad62bb607e2abc28a686f06e7aed9ed67f/68747470733a2f2f706f7365722e707567782e6f72672f6168696c6d757275676573616e2f736f6369616c6974652d6170706c652d68656c7065722f6c6963656e73652e737667)](https://packagist.org/packages/ahilmurugesan/socialite-apple-helper)

---

1. Installation
---------------

[](#1-installation)

```
// This assumes that you have composer installed globally
composer require ahilmurugesan/socialite-apple-helper
```

2. Configuration Setup
----------------------

[](#2-configuration-setup)

You will need to add an entry to the services configuration file so that after config files are cached for usage in production environment (Laravel command `artisan config:cache`) all config is still available.

To set up the required environment variables you can use the following artisan command which comes with this package.

```
php artisan socialite:apple

```

The command will prompt you the required values.You need to provide the following keys.

1. Team ID
2. Key ID
3. Client ID
4. Auth Key ( file name of p8 auth file, located inside storage/app/ ) Example: AuthKey\_SAMPKEY.p8
5. Redirect URI ( fully qualified secure callback url ) Example:
6. Token Refresh Interval ( in days )

Client Secret will be automatically generated and added to the .env file by using the above command.

> The expiration time registered claim key, the value of which must not be greater than 15777000 (6 months in seconds) from the Current Unix Time on the server.

[Sign in with Apple](https://developer.apple.com/documentation/sign_in_with_apple/generate_and_validate_tokens) Client Secret expiration time cannot be greater than six months. Hence it is advisible to refresh the Client Secret atleast once in six months after creation. You can adjust the Token Refresh Interval. There is a scheduled task which comes along with this package which will ensure that the Client Token is refreshed automatically. Please do ensure that you have enabled [Task Scheduling](https://laravel.com/docs/master/scheduling#introduction)

To manually refresh the Client Secret, please run the following command

```
php artisan socialite:apple --refresh

```

3. Demo Repo
------------

[](#3-demo-repo)

- [Demo Repo](https://github.com/VonecTechnologies/socialite-apple-sample/)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.3% 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 ~39 days

Recently: every ~49 days

Total

6

Last Release

2014d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20858668?v=4)[Ahilan SM](/maintainers/Ahilmurugesan)[@Ahilmurugesan](https://github.com/Ahilmurugesan)

---

Top Contributors

[![Ahilmurugesan](https://avatars.githubusercontent.com/u/20858668?v=4)](https://github.com/Ahilmurugesan "Ahilmurugesan (8 commits)")[![Adam2Marsh](https://avatars.githubusercontent.com/u/7213334?v=4)](https://github.com/Adam2Marsh "Adam2Marsh (3 commits)")[![vonec](https://avatars.githubusercontent.com/u/648370?v=4)](https://github.com/vonec "vonec (3 commits)")[![luolongfei](https://avatars.githubusercontent.com/u/34597923?v=4)](https://github.com/luolongfei "luolongfei (1 commits)")

---

Tags

laravelsocialiteapplelaravel socialitesign in with applesocialite appleclient key generatorclient key refreshapple client keyapple sign inlaravel apple

### Embed Badge

![Health badge](/badges/ahilmurugesan-socialite-apple-helper/health.svg)

```
[![Health](https://phpackages.com/badges/ahilmurugesan-socialite-apple-helper/health.svg)](https://phpackages.com/packages/ahilmurugesan-socialite-apple-helper)
```

###  Alternatives

[socialiteproviders/apple

Apple OAuth2 Provider for Laravel Socialite

618.4M8](/packages/socialiteproviders-apple)[patrickbussmann/oauth2-apple

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

1132.5M6](/packages/patrickbussmann-oauth2-apple)[nerdzlab/socialite-apple-sign-in

Extension of laravel/socialite package. Adds apple provider to sign in.

1844.3k](/packages/nerdzlab-socialite-apple-sign-in)[socialiteproviders/microsoft

Microsoft OAuth2 Provider for Laravel Socialite

326.1M13](/packages/socialiteproviders-microsoft)[schedula/laravel-passport-socialite

The missing laravel passport feature for social authentication

4822.6k](/packages/schedula-laravel-passport-socialite)[kovah/laravel-socialite-oidc

OpenID Connect OAuth2 Provider for Laravel Socialite

2073.7k](/packages/kovah-laravel-socialite-oidc)

PHPackages © 2026

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