PHPackages                             koenreiniers/oauth-server-bundle - 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. koenreiniers/oauth-server-bundle

ActiveSymfony-bundle[Authentication &amp; Authorization](/categories/authentication)

koenreiniers/oauth-server-bundle
================================

1.0.0(10y ago)057MITPHP

Since Apr 28Pushed 10y ago1 watchersCompare

[ Source](https://github.com/koenreiniers/oauth-server-bundle)[ Packagist](https://packagist.org/packages/koenreiniers/oauth-server-bundle)[ Docs](http://www.koenreiniers.nl/)[ RSS](/packages/koenreiniers-oauth-server-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Installation
============

[](#installation)

Add to routing.yml:
-------------------

[](#add-to-routingyml)

kr\_oauth\_server: resource: "@KrOAuthServerBundle/Controller" type: annotation

Add to config.yml:
------------------

[](#add-to-configyml)

kr\_oauth\_server: classmap: access\_token: AcmeBundle\\Entity\\AccessToken refresh\_token: AcmeBundle\\Entity\\RefreshToken client: AcmeBundle\\Entity\\Client authorization\_code: AcmeBundle\\Entity\\AuthorizationCode

Add to security.yml:
--------------------

[](#add-to-securityyml)

```
    oauth_token:
        pattern:          ^/oauth/token
        stateless:        true
        grant_request:    true

    oauth_auth:
        pattern:          ^/oauth/auth
        form_login:
            provider:               fos_userbundle
            csrf_token_generator:   security.csrf.token_manager
            check_path:             /oauth/auth/login_check
        logout:       true
        anonymous:    true

    oauth_resource:
        pattern:      ^/api/v1
        stateless:    true
        oauth:        true

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

3714d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8321296?v=4)[koenreiniers](/maintainers/koenreiniers)[@koenreiniers](https://github.com/koenreiniers)

---

Top Contributors

[![koenreiniers](https://avatars.githubusercontent.com/u/8321296?v=4)](https://github.com/koenreiniers "koenreiniers (1 commits)")

---

Tags

bundleserveroauth

### Embed Badge

![Health badge](/badges/koenreiniers-oauth-server-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/koenreiniers-oauth-server-bundle/health.svg)](https://phpackages.com/packages/koenreiniers-oauth-server-bundle)
```

###  Alternatives

[league/oauth2-server

A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.

6.7k143.0M274](/packages/league-oauth2-server)

PHPackages © 2026

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