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

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

jzecca/oauth2-edenred
=====================

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

1.0.0(4y ago)05.1k↓100%MITPHPPHP &gt;=7.3

Since Jun 5Pushed 3y ago1 watchersCompare

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

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

Edenred Provider for OAuth 2.0 Client
=====================================

[](#edenred-provider-for-oauth-20-client)

[![Build Status](https://camo.githubusercontent.com/6332eccd970254cf6527554b67b0b55736e6cda83a9a6fbfd1dbbc44c250a829/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6a7a656363612f6f61757468322d6564656e7265642f43493f6c6f676f3d676974687562267374796c653d666c61742d737175617265)](https://github.com/jzecca/oauth2-edenred/actions/workflows/ci.yaml)[![Coverage](https://camo.githubusercontent.com/6d8e69c8627c9f7ef43da409757c036e1e72e8f7fce79091cd47002632867e1c/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f67682f6a7a656363612f6f61757468322d6564656e7265643f6c6f676f3d636f6465636f76267374796c653d666c61742d737175617265)](https://codecov.io/gh/jzecca/oauth2-edenred)

This package provides [Edenred Connect](https://anypoint.mulesoft.com/exchange/portals/edenred-corporate/9a5c9842-3e68-452a-aa88-d100c3bdefba/edenred-connect) OAuth 2.0 support for the PHP League's [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client).

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

[](#installation)

To install, use composer:

```
composer require jzecca/oauth2-edenred
```

Usage
-----

[](#usage)

Usage is the same as The League's OAuth client, using `\Jzecca\OAuth2\Client\Provider\Edenred` as the provider.

#### Available Options

[](#available-options)

The `Edenred` provider has the following [options](https://anypoint.mulesoft.com/exchange/portals/edenred-corporate/9a5c9842-3e68-452a-aa88-d100c3bdefba/edenred-connect/minor/1.0/console/method/%23263):

NameTypeDefaultDescription`locale``string`Gives a hint about the desired display language of the login UI`loginHint``string`Pre-fills the username field on the login page`sandbox``bool``false`Uses the sandbox API if set to `true``scopes``array``[]`Adds one or more registered scopes`tenant``string`Passes a tenant name to the user serviceTesting
-------

[](#testing)

Tests can be run with:

```
composer test
```

Code style can be fixed with:

```
composer fix
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

1802d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/17c4352c3fdd94695d35c121a6a94565d65f9c9947e2ab6949c6c9b7cd0d767f?d=identicon)[jzecca](/maintainers/jzecca)

---

Top Contributors

[![jzecca](https://avatars.githubusercontent.com/u/1562675?v=4)](https://github.com/jzecca "jzecca (2 commits)")

---

Tags

edenredoauth2phpclientAuthenticationoauthoauth2authorizationedenred

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[league/oauth2-google

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

41721.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)
