PHPackages                             aaronheath/oauth-client - 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. aaronheath/oauth-client

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

aaronheath/oauth-client
=======================

A simple oauth2 client for use in my applications.

v1.0.0(2y ago)072[3 PRs](https://github.com/aaronheath/oauth-client/pulls)1MITPHPPHP ^8.2.0

Since May 20Pushed 2y ago1 watchersCompare

[ Source](https://github.com/aaronheath/oauth-client)[ Packagist](https://packagist.org/packages/aaronheath/oauth-client)[ RSS](/packages/aaronheath-oauth-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (14)Used By (1)

OAuth Client
============

[](#oauth-client)

[![Build Status](https://camo.githubusercontent.com/bd51cedaa746b18d204c9c68881a2d235427cfb5c610723b2cad190d0e07b208/68747470733a2f2f7472617669732d63692e6f72672f6161726f6e68656174682f6f617574682d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/aaronheath/oauth-client)

Introduction
------------

[](#introduction)

This is a personal package which provides a simple OAuth2 client. The client is issued with a static [personal access token](https://laravel.com/docs/7.x/passport#personal-access-tokens).

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

[](#installation)

This package is installed via [Composer](https://getcomposer.org/).

Before installing, the repository must be added to the repositories section of the host projects composer.json.

```
"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/aaronheath/oauth-client"
    }
],

```

To install, run the following command.

```
composer require aaronheath/oauth-client
```

Then, publish the configuration file. A new file will be created at config/oauth-client.php

```
php artisan vendor:publish
```

Finally, at minimum you'll want to configure a default OAuth server by updating the projects .env file.

```
OAUTH_CLIENT_URL=https://example.com/oauth/token
OAUTH_CLIENT_ID=client_id
OAUTH_CLIENT_SECRET=client_secret

```

Additional OAuth hosts can be configured in the config file.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity75

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 ~153 days

Recently: every ~306 days

Total

9

Last Release

951d ago

Major Versions

v0.0.8 → v1.0.02023-10-01

PHP version history (3 changes)v0.0.1PHP ^7.2.5

v0.0.8PHP ^7.4.0

v1.0.0PHP ^8.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2363aaf04ef558057edb269954a51581c9748105c6dec15172528ec8c66bbcb0?d=identicon)[aaronheath](/maintainers/aaronheath)

---

Top Contributors

[![aaronheath](https://avatars.githubusercontent.com/u/2026209?v=4)](https://github.com/aaronheath "aaronheath (18 commits)")

---

Tags

laraveloauth2

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aaronheath-oauth-client/health.svg)

```
[![Health](https://phpackages.com/badges/aaronheath-oauth-client/health.svg)](https://phpackages.com/packages/aaronheath-oauth-client)
```

###  Alternatives

[josiasmontag/laravel-recaptchav3

Recaptcha V3 for Laravel package

2641.6M2](/packages/josiasmontag-laravel-recaptchav3)[rahul900day/laravel-captcha

Different types of Captcha implementation for Laravel Application.

10715.9k](/packages/rahul900day-laravel-captcha)[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)
