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

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

richardhj/oauth2-epost
======================

E-POSTBUSINESS OAuth 2.0 Client Provider for The PHP League OAuth2-Client

v0.9.0(9y ago)27.9k1[1 PRs](https://github.com/richardhj/oauth2-epost/pulls)1PHPPHP ^5.4 || ^7.0

Since Oct 12Pushed 7y ago1 watchersCompare

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

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

E-POSTBUSINESS Provider for OAuth 2.0 Client
============================================

[](#e-postbusiness-provider-for-oauth-20-client)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f32906b69e776245a36442512e8ea85a1073451073889f0b5fcf1337ad5f1c1b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72696368617264686a2f6f61757468322d65706f73742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/richardhj/oauth2-epost)![Software License](https://camo.githubusercontent.com/2bc95db9d4d6b319fe40fe1a46431a18f9684b30d516775115c5d0df6aa3e9b4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4c47504c2d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)[![Dependency Status](https://camo.githubusercontent.com/a406fafc02ba17f559304d97ef5477754087049270fd1c39ce5067fd78286275/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f72696368617264686a3a6f61757468322d65706f73742f62616467652e7376673f7374796c653d666c61742d737175617265)](https://www.versioneye.com/php/richardhj:oauth2-epost)

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

Install
-------

[](#install)

Via Composer

```
$ composer require richardhj/oauth2-epost
```

Usage
-----

[](#usage)

The provider supports *Authorization Code Grant* as well as *Resource Owner Password Credentials Grant*. I recommend reading these usage instructions before: But instead of the `GenericProvider` you're going to use this provider.

This is how to initiate the provider:

```
$provider = new EPost\OAuth2\Client\Provider\EPost(
    [
        'clientId'              => sprintf('%s,%s', EPOST_DEV_ID, EPOST_APP_ID),
        'redirectUri'           => 'http://localhost:8080/oauth2_redirect.php', // Only necessary for the Authorization Code Grant flow
        'scopes'                => ['create_letter', 'send_hybrid'],
        'lif'                   => EPOST_LIF_CONTENT,
        'enableTestEnvironment' => true,
    ]
);
```

License
-------

[](#license)

The GNU Lesser General Public License (LGPL).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

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

Every ~366 days

Total

2

Last Release

3132d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1284725?v=4)[Richard Henkenjohann](/maintainers/richardhj)[@richardhj](https://github.com/richardhj)

---

Top Contributors

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

---

Tags

deutsche-postepostepostbusiness-apioauth2oauth2-clientphp-league

### Embed Badge

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

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

###  Alternatives

[league/oauth2-google

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

41721.2M118](/packages/league-oauth2-google)[knpuniversity/oauth2-client-bundle

Integration with league/oauth2-client to provide services

83416.7M61](/packages/knpuniversity-oauth2-client-bundle)[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2509.6M48](/packages/thenetworg-oauth2-azure)[stevenmaguire/oauth2-keycloak

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

2275.9M27](/packages/stevenmaguire-oauth2-keycloak)[patrickbussmann/oauth2-apple

Sign in with Apple OAuth 2.0 Client Provider for The PHP League OAuth2-Client

1132.5M6](/packages/patrickbussmann-oauth2-apple)[microsoft/kiota-authentication-phpleague

Authentication provider for Kiota using the PHP League OAuth 2.0 client to authenticate against the Microsoft Identity platform

153.2M7](/packages/microsoft-kiota-authentication-phpleague)

PHPackages © 2026

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