PHPackages                             tobymaxham/phoenix-socialite - 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. tobymaxham/phoenix-socialite

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

tobymaxham/phoenix-socialite
============================

PhoenixII OAuth2 Provider for Laravel Socialite

v3.0(1y ago)08MITPHPPHP ^8.2

Since Dec 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/TobyMaxham/phoenix-socialite)[ Packagist](https://packagist.org/packages/tobymaxham/phoenix-socialite)[ Docs](https://github.com/tobymaxham/phoenix-socialite)[ GitHub Sponsors](https://github.com/TobyMaxham)[ RSS](/packages/tobymaxham-phoenix-socialite/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (4)Used By (0)

PhoenixII OAuth2 Provider for Laravel Socialite
===============================================

[](#phoenixii-oauth2-provider-for-laravel-socialite)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f5c3fa7920cfbf3591263275577a6199e62470dddd4c35d841f461d571c9ecbf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f62796d617868616d2f70686f656e69782d736f6369616c6974652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tobymaxham/phoenix-socialite)[![Tests](https://github.com/tobymaxham/phoenix-socialite/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/tobymaxham/phoenix-socialite/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/4d7f3a30b6a64761ad2b545dcd6975f05feee51764e388f5d676257c82e5849c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f62796d617868616d2f70686f656e69782d736f6369616c6974652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tobymaxham/phoenix-socialite)

---

This package can be used to add a Laravel Socialite driver using the PhoenixII OAuth2-API.

If you do not have a laravel installation, please check out my other package which can be used without a framework:

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

[](#installation)

```
composer require tobymaxham/phoenix-socialite
```

Configuration &amp; Basic Usage
-------------------------------

[](#configuration--basic-usage)

As an organisation using PhoenixII you can use this package for any third party software to enable OAuth2. This will give your users an easy and comfortable way to use the third party application. A users wich is already a registered user on your PhoenixII instance, they do not need to register a second account on your platform.

For more information read the documentation:

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

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

```
'phoenix-auth' => [
   'instance' => 'https://{instance}.it4sport.de',
   'client_id' => env('PHOENIX_CLIENT_ID'),
   'client_secret' => env('PHOENIX_CLIENT_SECRET'),
   'redirect' => env('PHOENIX_REDIRECT_URI'),
   'token' => env('PHOENIX_BEARER_TOKEN'),
],
```

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('phoenix-auth')->redirect();
```

### Returned User fields

[](#returned-user-fields)

- `id`
- `firstname`
- `lastname`
- `email`
- `birthday`
- `organisation`
- `licenses`
- `functions`
- `addresses`

Important note
--------------

[](#important-note)

This package is not developed or maintained by PhoenixII (it4sport). This package was created using the public [OAuth-Documentation](https://tricept.atlassian.net/wiki/spaces/PIIWIKI/pages/976912387/OAuth+2+-+Schnittstelle).

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you've found a bug regarding security please mail  instead of using the issue tracker.

Support me
----------

[](#support-me)

[![ko-fi](https://camo.githubusercontent.com/201ef269611db7eb6b5d08e9f756ab8980df3014b64492770bdf13a6ed924641/68747470733a2f2f6b6f2d66692e636f6d2f696d672f676974687562627574746f6e5f736d2e737667)](https://ko-fi.com/Z8Z4NZKU)

Credits
-------

[](#credits)

- [TobyMaxham](https://github.com/TobyMaxham)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~482 days

Total

3

Last Release

642d ago

Major Versions

1.0.0 → v2.02024-08-08

v2.0 → v3.02024-08-08

PHP version history (3 changes)1.0.0PHP ^7.4 || ^8.0

v2.0PHP ^8.1

v3.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/900ab0a66bf701f3fb99a4db54276b4984cf3cf9b55ccad6df65c034f58be85f?d=identicon)[TobyMaxham](/maintainers/TobyMaxham)

---

Top Contributors

[![TobyMaxham](https://avatars.githubusercontent.com/u/5646469?v=4)](https://github.com/TobyMaxham "TobyMaxham (5 commits)")

---

Tags

laravelprovideroauthsocialitetobymaxhamphoenix-oauthphoenix-socialite

###  Code Quality

TestsPHPUnit

Static AnalysisRector

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/tobymaxham-phoenix-socialite/health.svg)

```
[![Health](https://phpackages.com/badges/tobymaxham-phoenix-socialite/health.svg)](https://phpackages.com/packages/tobymaxham-phoenix-socialite)
```

###  Alternatives

[socialiteproviders/manager

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

42442.0M544](/packages/socialiteproviders-manager)[kovah/laravel-socialite-oidc

OpenID Connect OAuth2 Provider for Laravel Socialite

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

Kakao OAuth2 Provider for Laravel Socialite

10484.7k4](/packages/socialiteproviders-kakao)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)

PHPackages © 2026

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