PHPackages                             vatsim/oauth2-vatsim - 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. vatsim/oauth2-vatsim

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

vatsim/oauth2-vatsim
====================

VATSIM OAuth 2.0 Client Provider for The PHP League OAuth2-Client

1.0.0(3y ago)11.2k↓31.6%1MITPHPPHP ^7.4 || ^8.0

Since Jan 22Pushed 3y ago6 watchersCompare

[ Source](https://github.com/vatsimnetwork/oauth2-vatsim-php)[ Packagist](https://packagist.org/packages/vatsim/oauth2-vatsim)[ RSS](/packages/vatsim-oauth2-vatsim/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

VATSIM Connect Provider for OAuth 2.0 Client
============================================

[](#vatsim-connect-provider-for-oauth-20-client)

[![Build Status](https://camo.githubusercontent.com/abc1c70a312b1cfc9006f3732efe1f03beb7384df8354688321dc73231056f02/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f76617473696d6e6574776f726b2f6f61757468322d76617473696d2d7068702f746573742e79616d6c3f6272616e63683d6d61696e)](https://github.com/vatsimnetwork/oauth2-vatsim-php/actions/workflows/test.yaml)[![License](https://camo.githubusercontent.com/c88422e57e59720fb6c8a47c1c99307147968f2f528a462ebef14af49c70e458/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f76617473696d2f6f61757468322d76617473696d)](https://github.com/vatsimnetwork/oauth2-vatsim-php/blob/main/LICENSE)[![Latest Stable Version](https://camo.githubusercontent.com/41670ec8820af29b0d11e5ae13f4759c777aa190b9245e477d63f5374d1e4802/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f76617473696d2f6f61757468322d76617473696d)](https://packagist.org/packages/vatsim/oauth2-vatsim)

This package provides VATSIM Connect support for the PHP League's [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client).

Requirements
------------

[](#requirements)

To use this package, it will be necessary to have a VATSIM Connect client ID and client secret.

Please follow the [VATSIM Connect instructions](https://github.com/vatsimnetwork/developer-info/wiki/Connect) to create the required credentials.

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

[](#installation)

To install, use composer:

```
composer require vatsim/oauth2-vatsim
```

Usage
-----

[](#usage)

Usage is the same as [The League's OAuth client](https://oauth2-client.thephpleague.com/usage/), using `\Vatsim\OAuth2\Client\Provider\Vatsim` as the provider.

### Available Options

[](#available-options)

The `Vatsim` provider has the following options:

- `domain` allows for switching between the prod or dev Connect instance (default: `https://auth.vatsim.net`)

### Scopes

[](#scopes)

At time of writing, [available scopes](https://github.com/vatsimnetwork/developer-info/wiki/Connect-Redirect-the-User) are:

- `full_name` - Full name (first and last)
- `email`- Email address
- `country` - Residence country
- `vatsim_details` - VATSIM pilot rating, ATC rating, region, division, sub-division

Testing
-------

[](#testing)

Tests can be run with:

```
composer test
```

Style checks can be run with:

```
composer lint
```

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

[](#contributing)

Please see [CONTRIBUTING.md](https://github.com/vatsimnetwork/oauth2-vatsim-php/blob/main/CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [William McKinnerney](https://williammck.net)
- [All Contributors](https://github.com/vatsimnetwork/oauth2-vatsim-php/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see the [License File](https://github.com/vatsimnetwork/oauth2-vatsim-php/blob/main/LICENSE) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1212d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cc3e3c710c175f1874c9c2c541fe4d57e4eb50242bca29392f5a78f579d94d37?d=identicon)[vatsimnetwork](/maintainers/vatsimnetwork)

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

---

Top Contributors

[![williammck](https://avatars.githubusercontent.com/u/1619328?v=4)](https://github.com/williammck "williammck (3 commits)")

---

Tags

clientAuthenticationoauthoauth2authorizationvatsim

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/vatsim-oauth2-vatsim/health.svg)

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

###  Alternatives

[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

42121.2M118](/packages/league-oauth2-google)[cakedc/oauth2-cognito

Cognito OAuth 2.0 Client Provider for The PHP League OAuth2-Client

18597.7k](/packages/cakedc-oauth2-cognito)

PHPackages © 2026

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