PHPackages                             faganchalabizada/apple-laravel-authorization-code - 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. faganchalabizada/apple-laravel-authorization-code

ActiveLibrary

faganchalabizada/apple-laravel-authorization-code
=================================================

Get User Data with the result code of a apple sign in button

0586↓100%PHP

Since Feb 20Pushed 4y agoCompare

[ Source](https://github.com/faganchalabizada/apple-laravel-authorization-code)[ Packagist](https://packagist.org/packages/faganchalabizada/apple-laravel-authorization-code)[ RSS](/packages/faganchalabizada-apple-laravel-authorization-code/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Validate Apple User Code with Laravel
=====================================

[](#validate-apple-user-code-with-laravel)

[![N|Solid](https://camo.githubusercontent.com/345210e6bf78ebd5e12ff11b2f3b1f8085474efa6d744f467d50be293e3988bd/68747470733a2f2f6d656469612e6c6963646e2e636f6d2f646d732f696d6167652f433444304241514576635779474d53395934672f636f6d70616e792d6c6f676f5f3230305f3230302f303f653d3231353930323434303026763d6265746126743d766c384d51594e326265616b646d423047573738383645555354777a56306f414b446d3456354d67506855)](https://camo.githubusercontent.com/345210e6bf78ebd5e12ff11b2f3b1f8085474efa6d744f467d50be293e3988bd/68747470733a2f2f6d656469612e6c6963646e2e636f6d2f646d732f696d6167652f433444304241514576635779474d53395934672f636f6d70616e792d6c6f676f5f3230305f3230302f303f653d3231353930323434303026763d6265746126743d766c384d51594e326265616b646d423047573738383645555354777a56306f414b446d3456354d67506855)

Getting Start!
==============

[](#getting-start)

```
composer require apple-laravel-authorization-code
```

Add Service Provider in config/app.php

```
'providers' => [
   ...
    AnimusCoop\AppleTokenAuth\AppleTokenAuthServiceProvider::class,
]

```

Use
===

[](#use)

Controller.

```
use AnimusCoop\AppleTokenAuth\Classes\AppleAuth;

```

```
$data = [
   "client_id" => "",
   "team_id"   => "",
   "key_id"    => "",
   "key"       => storage_path('AuthKey.p8'), //path where is your p8 key example if your key is in storage
   "code"      => "" //code sended by your front end guy
];

$appleAuth = new AppleAuth($data);

// if you need only the jwt signed with your p8 key file

$jwt = $appleAuth->getJwtSigned();

// Refresh Token and get user Data
$user = $appleAuth->getUserData();

```

Response getUserData()

```
[
  "authorization" => {
    "access_token": ""
    "token_type": "Bearer"
    "expires_in": 3600
    "refresh_token": ""
    "id_token": ""
  }
  "user" => {
    "iss": "https://appleid.apple.com"
    "aud": "your client id"
    "exp": 1605393470
    "iat": 1605307070
    "sub": ""
    "at_hash": ""
    "email": "isaias@animus.com.ar"
    "email_verified": "true"
    "auth_time": 1605307067
    "nonce_supported": true
  }
]

```

###  Health Score

19

—

LowBetter than 12% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 Bus Factor1

Top contributor holds 73.1% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/623c2692d35e8e43477ffd350b9d321694b074b090a68b3f548cd7b5a4ab096e?d=identicon)[faganchalabizada](/maintainers/faganchalabizada)

---

Top Contributors

[![isa95Ar](https://avatars.githubusercontent.com/u/38536964?v=4)](https://github.com/isa95Ar "isa95Ar (19 commits)")[![faganchalabizada](https://avatars.githubusercontent.com/u/24652555?v=4)](https://github.com/faganchalabizada "faganchalabizada (7 commits)")

### Embed Badge

![Health badge](/badges/faganchalabizada-apple-laravel-authorization-code/health.svg)

```
[![Health](https://phpackages.com/badges/faganchalabizada-apple-laravel-authorization-code/health.svg)](https://phpackages.com/packages/faganchalabizada-apple-laravel-authorization-code)
```

PHPackages © 2026

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