PHPackages                             coddin-web/oidc-client-laravel-wrapper - 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. coddin-web/oidc-client-laravel-wrapper

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

coddin-web/oidc-client-laravel-wrapper
======================================

A Laravel wrapper of jumbojett's OpenID Connect Client

1.5.0(1y ago)21.5kMITPHPPHP &gt;=8.1

Since May 12Pushed 1y ago2 watchersCompare

[ Source](https://github.com/coddin-web/oidc-client-laravel-wrapper)[ Packagist](https://packagist.org/packages/coddin-web/oidc-client-laravel-wrapper)[ RSS](/packages/coddin-web-oidc-client-laravel-wrapper/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (10)Dependencies (13)Versions (14)Used By (0)

[![build](https://github.com/coddin-web/oidc-client-laravel-wrapper/actions/workflows/main.yml/badge.svg?event=push)](https://github.com/coddin-web/oidc-client-laravel-wrapper/actions/workflows/main.yml/badge.svg?event=push)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)[![codecov](https://camo.githubusercontent.com/ece064b221a6fa643df49fbc27ced60e97137900f36d5d72a4cd0206e7e6c739/68747470733a2f2f636f6465636f762e696f2f67682f636f6464696e2d7765622f6f6964632d636c69656e742d6c61726176656c2d777261707065722f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d55354e43554358304c48)](https://codecov.io/gh/coddin-web/oidc-client-laravel-wrapper)

OpenID Connect Client - Laravel wrapper
=======================================

[](#openid-connect-client---laravel-wrapper)

A Laravel wrapper of jumbojett's OpenID Connect Client ([`jumbojett/openid-connect-php`](https://github.com/jumbojett/OpenID-Connect-PHP)).

This package will set up a Middleware group that can be used to protect web routes with OpenID Connect verification and api routes with token verification.

A few things are necessary to make this library work:

- your IDP should support OpenID Connect with OAuth 2(.1)
- your IDP should have your client already registered
- the application this package is implemented in should have the same private key as your IDP
    - this is needed to verify / parse the JWT

When this package is done verifying the token is legit an Event will be fired to be consumed by the target application. This event should e.g. perform `Auth::login($user)` to fully let Laravel know this package has handled the authorization.

The `UserAuthorizedEvent` will broadcast a userUuid, userName and userEmail, your application should already know the user by one of these values (preferably the UUID).

Logging out (also the IDP) is not fully implemented yet. To do it "locally" the only thing needed is to kill the session.

You can set up an IDP with [`laravel/passport`](https://laravel.com/docs/9.x/passport) or set up your own with e.g. a Symfony application in combination with [`steverhoades/oauth2-openid-connect-server`](https://github.com/steverhoades/oauth2-openid-connect-server)

Or better yet use our IDP package which ***is*** a ready to use Symfony bundle with a clear and concise readme and with the above-mentioned library fully implemented. [OpenIDConnect IDP Symfony bundle](https://github.com/coddin-web/idp-openid-connect-bundle)

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

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

Recently: every ~169 days

Total

13

Last Release

717d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/51f79bc7bc85a6f14863b7dda6b9083db73244068711b575e46e5c8a3628b054?d=identicon)[falko100](/maintainers/falko100)

![](https://www.gravatar.com/avatar/14ff57313528ad497507d476da9ad5274da1d988d1bad15b01045c400d2ade6c?d=identicon)[MJTheOne](/maintainers/MJTheOne)

---

Top Contributors

[![mariusjp](https://avatars.githubusercontent.com/u/1510476?v=4)](https://github.com/mariusjp "mariusjp (31 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/coddin-web-oidc-client-laravel-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/coddin-web-oidc-client-laravel-wrapper/health.svg)](https://phpackages.com/packages/coddin-web-oidc-client-laravel-wrapper)
```

###  Alternatives

[jeremy379/laravel-openid-connect

OpenID Connect support to the PHP League's OAuth2 Server. Compatible with Laravel Passport.

59437.0k8](/packages/jeremy379-laravel-openid-connect)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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