PHPackages                             nerdzlab/socialite-apple-sign-in - 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. nerdzlab/socialite-apple-sign-in

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

nerdzlab/socialite-apple-sign-in
================================

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

2.2.2(2y ago)1844.3k↓18.1%1MITPHPPHP ^7.2|^8.0CI failing

Since May 12Pushed 2y ago3 watchersCompare

[ Source](https://github.com/nerdzlab/socialite-apple-sign-in)[ Packagist](https://packagist.org/packages/nerdzlab/socialite-apple-sign-in)[ Docs](https://github.com/nerdzlab/socialite-apple-sign-in)[ RSS](/packages/nerdzlab-socialite-apple-sign-in/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (4)Versions (8)Used By (0)

Sign in with apple
==================

[](#sign-in-with-apple)

Good solution for implementation auth with apple for REST API. This package is extension of laravel/socialite package, it adds custom apple provider to socialite. It allows you to to create auth with apple flow using only apple's access\_token. Package will check if token was not modified by validating token signature.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require nerdzlab/socialite-apple-sign-in
```

You may publish config if needed:

```
 php artisan vendor:publish --provider="Nerdzlab\SocialiteAppleSignIn\SocialiteAppleSignInServiceProvider" --tag="config"
```

Usage
-----

[](#usage)

To get started you need to add credentials for the apple service in your `config/services.php` file.

```
'apple' => [
    'client_id' => 'YOUR_BUNDLE_ID'
],
```

In case you have several apps, you may add several bundle ids as array.

```
'apple' => [
    'client_id' => [
        'FIRST_BUNDLE_ID',
        'SECOND_BUNDLE_ID',
    ]
],
```

Package automatically adds 'apple' driver to Socialite. After that you can obtain user data from access\_token received from apple.

```
use Laravel\Socialite\Facades\Socialite;

$user = Socialite::driver('apple')->userFromToken($accessToken);
```

Package will cache public keys retrieved from apple during auth flow. You may automatically cache public keys by calling command:

```
php artisan apple-sign-in:update-keys
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 73.9% 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 ~231 days

Recently: every ~308 days

Total

7

Last Release

808d ago

Major Versions

1.0.0 → 2.0.02020-09-16

PHP version history (3 changes)1.0.0PHP ^7.1

2.0.0PHP ^7.2

2.2.0PHP ^7.2|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e5656b3927c9cc37bc14f9a89b1993691f27d1c896c8c39651986d104f41669?d=identicon)[marko298](/maintainers/marko298)

![](https://www.gravatar.com/avatar/601ec78b77d8c8a11a10acd0e7d38658d0f7abb148a5bc3b0c963edcf63db024?d=identicon)[nerdzlab](/maintainers/nerdzlab)

---

Top Contributors

[![bogdantk](https://avatars.githubusercontent.com/u/15520914?v=4)](https://github.com/bogdantk "bogdantk (17 commits)")[![Saifallak](https://avatars.githubusercontent.com/u/6053156?v=4)](https://github.com/Saifallak "Saifallak (3 commits)")[![FKuroglu](https://avatars.githubusercontent.com/u/134629025?v=4)](https://github.com/FKuroglu "FKuroglu (1 commits)")[![Marko298](https://avatars.githubusercontent.com/u/12628139?v=4)](https://github.com/Marko298 "Marko298 (1 commits)")[![pylypO](https://avatars.githubusercontent.com/u/11816226?v=4)](https://github.com/pylypO "pylypO (1 commits)")

---

Tags

laravelsocialiteapplesign in with appleapple sign innerdzlabsocialite-apple-sign-in

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nerdzlab-socialite-apple-sign-in/health.svg)

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

###  Alternatives

[socialiteproviders/apple

Apple OAuth2 Provider for Laravel Socialite

618.4M8](/packages/socialiteproviders-apple)[socialiteproviders/manager

Easily add new or override built-in providers in Laravel Socialite.

42542.0M544](/packages/socialiteproviders-manager)[ahilmurugesan/socialite-apple-helper

Laravel Socialite Apple Login Helper to generate and manage Client Secret

13120.7k](/packages/ahilmurugesan-socialite-apple-helper)[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/microsoft

Microsoft OAuth2 Provider for Laravel Socialite

326.1M13](/packages/socialiteproviders-microsoft)[andrewdwallo/filament-companies

A comprehensive Laravel authentication and authorization system designed for Filament, focusing on multi-tenant company management.

34450.0k2](/packages/andrewdwallo-filament-companies)

PHPackages © 2026

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