PHPackages                             mkaverin/laravel-oauth2-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. mkaverin/laravel-oauth2-client

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

mkaverin/laravel-oauth2-client
==============================

1.0.0(9mo ago)1160PHPPHP ^7.4|^8.0CI passing

Since Dec 4Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/mish-ka-mishka/laravel-oauth2-client)[ Packagist](https://packagist.org/packages/mkaverin/laravel-oauth2-client)[ Docs](https://github.com/mish-ka-mishka/laravel-oauth2-client)[ RSS](/packages/mkaverin-laravel-oauth2-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (8)Versions (4)Used By (0)

Laravel OAuth2 client
=====================

[](#laravel-oauth2-client)

This package is based on the [PHP League OAuth 2.0 Client library,](https://github.com/thephpleague/oauth2-client)and it provides a simple interface to OAuth2 authentication for your Laravel application using any of the compatible OAuth2 providers (for example see the list of [official PHP League](https://oauth2-client.thephpleague.com/providers/league/)and [third-party](https://oauth2-client.thephpleague.com/providers/thirdparty/) providers or [instructions on how to implement your own](https://oauth2-client.thephpleague.com/providers/implementing/)).

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

[](#installation)

Run the following command from your project directory to add the dependency:

```
composer require mkaverin/laravel-oauth2-client
```

Then, copy and run database migrations:

```
php artisan vendor:publish --provider="LaravelOAuth2Client\Providers\OAuth2ServiceProvider" --tag=migrations
```

```
php artisan migrate
```

### Laravel without auto-discovery

[](#laravel-without-auto-discovery)

If you don't use auto-discovery, add the ServiceProvider to the providers array in `config/app.php`:

```
'providers' => [
    ...
    LaravelOAuth2Client\Providers\OAuth2ServiceProvider::class,
],
```

Testing
-------

[](#testing)

```
composer test
```

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance57

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Every ~486 days

Total

3

Last Release

282d ago

Major Versions

0.0.1 → 1.0.02025-08-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/a52f15a8fbb18e0acc6f0aaf265f373be5e24b662ce86a48ac95a927f3bab607?d=identicon)[mish-ka-mishka](/maintainers/mish-ka-mishka)

---

Top Contributors

[![mish-ka-mishka](https://avatars.githubusercontent.com/u/5685141?v=4)](https://github.com/mish-ka-mishka "mish-ka-mishka (21 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mkaverin-laravel-oauth2-client/health.svg)

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

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k49.1M350](/packages/tymon-jwt-auth)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

8359.8M53](/packages/php-open-source-saver-jwt-auth)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[laragear/two-factor

On-premises 2FA Authentication for out-of-the-box.

339785.3k8](/packages/laragear-two-factor)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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