PHPackages                             feilongluo/apple - 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. feilongluo/apple

ActiveLibrary

feilongluo/apple
================

Apple OAuth2 Provider for Laravel Socialite. Support php 7.1 and laravel 5.6, revision.

v4.0.1(5y ago)014MITPHPPHP ^7.1

Since Nov 3Pushed 5y agoCompare

[ Source](https://github.com/feilongluo/Apple)[ Packagist](https://packagist.org/packages/feilongluo/apple)[ RSS](/packages/feilongluo-apple/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (2)Used By (0)

Apple
=====

[](#apple)

```
composer require feilongluo/apple:v4.0.1
```

Installation &amp; Basic Usage
------------------------------

[](#installation--basic-usage)

Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), then follow the provider specific instructions below.

### Add configuration to `config/services.php`

[](#add-configuration-to-configservicesphp)

```
'apple' => [
  'client_id' => env('APPLE_CLIENT_ID'),
  'client_secret' => env('APPLE_CLIENT_SECRET'),
  'redirect' => env('APPLE_REDIRECT_URI')
],
```

### Add provider event listener

[](#add-provider-event-listener)

Configure the package's listener to listen for `SocialiteWasCalled` events.

Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions.

```
protected $listen = [
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        // ... other providers
        'SocialiteProviders\\Apple\\AppleExtendSocialite@handle',
    ],
];
```

### Usage

[](#usage)

You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed):

```
return Socialite::driver('apple')->redirect();
```

### Returned User fields

[](#returned-user-fields)

- `id`
- `name`
- `email`

### Reference

[](#reference)

- [Apple API Reference](https://developer.apple.com/documentation/sign_in_with_apple/sign_in_with_apple_rest_api)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor3

3 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

2014d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/34597923?v=4)[luolongfei](/maintainers/luolongfei)[@luolongfei](https://github.com/luolongfei)

---

Top Contributors

[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (6 commits)")[![mybsdc](https://avatars.githubusercontent.com/u/15661966?v=4)](https://github.com/mybsdc "mybsdc (3 commits)")[![saundefined](https://avatars.githubusercontent.com/u/4685504?v=4)](https://github.com/saundefined "saundefined (2 commits)")[![pyrou](https://avatars.githubusercontent.com/u/235005?v=4)](https://github.com/pyrou "pyrou (2 commits)")[![masticore252](https://avatars.githubusercontent.com/u/18010476?v=4)](https://github.com/masticore252 "masticore252 (1 commits)")[![Max13](https://avatars.githubusercontent.com/u/531249?v=4)](https://github.com/Max13 "Max13 (1 commits)")[![damonto](https://avatars.githubusercontent.com/u/9162521?v=4)](https://github.com/damonto "damonto (1 commits)")[![orhan-swe](https://avatars.githubusercontent.com/u/10519489?v=4)](https://github.com/orhan-swe "orhan-swe (1 commits)")[![Ahilmurugesan](https://avatars.githubusercontent.com/u/20858668?v=4)](https://github.com/Ahilmurugesan "Ahilmurugesan (1 commits)")[![robiiinos](https://avatars.githubusercontent.com/u/16455953?v=4)](https://github.com/robiiinos "robiiinos (1 commits)")[![RomainLanz](https://avatars.githubusercontent.com/u/2793951?v=4)](https://github.com/RomainLanz "RomainLanz (1 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/feilongluo-apple/health.svg)

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

###  Alternatives

[socialiteproviders/apple

Apple OAuth2 Provider for Laravel Socialite

618.4M8](/packages/socialiteproviders-apple)[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)[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/instagram

Instagram OAuth2 Provider for Laravel Socialite

421.9M5](/packages/socialiteproviders-instagram)

PHPackages © 2026

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