PHPackages                             borisguery/oauth2-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. borisguery/oauth2-server-bundle

ActiveLibrary

borisguery/oauth2-server-bundle
===============================

0.1(10y ago)26MITPHP

Since Apr 4Pushed 10y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (2)Used By (0)

OAuth2 Server Bundle for Symfony
================================

[](#oauth2-server-bundle-for-symfony)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4fa15f6134e69cad519f3b6e0ab1879554a37ff660aed6c366c25f9c7852471c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626f72697367756572792f6f61757468322d7365727665722d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/borisguery/oauth2-server-bundle)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/987d9ef35d2ea340f314ceb99365d5f64548df867380c87f5656dbd08fbfec8b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f626f72697367756572792f6f61757468322d7365727665722d62756e646c652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/borisguery/oauth2-server-bundle)[![Coverage Status](https://camo.githubusercontent.com/17dc4e30757e786fd28d28b9c31467434b0ab833d8a2aad181732a5d542d41e9/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f626f72697367756572792f6f61757468322d7365727665722d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/borisguery/oauth2-server-bundle/code-structure)[![Quality Score](https://camo.githubusercontent.com/57ec51488a29a6d858476ce62ad737656239c60a2bdb6989dd8d30186d613d45/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f626f72697367756572792f6f61757468322d7365727665722d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/borisguery/oauth2-server-bundle)[![Total Downloads](https://camo.githubusercontent.com/02daa28d4ddb34028dda7d542b7d590040a3b808c277568966761abedb0f2c36/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f626f72697367756572792f6f61757468322d7365727665722d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/borisguery/oauth2-server-bundle)

OAuth2 Server Bundle for Symfony

Install
-------

[](#install)

Via Composer

```
$ composer require borisguery/oauth2-server-bundle
```

Configuration
-------------

[](#configuration)

```
bgy_o_auth2_server:
    authorization_server:
        storage:
            access_token: oauth2.storage.access_token
            client: oauth2.storage.client
            refresh_token: oauth2.storage.refresh_token
        token_generator: ~
        always_generate_a_refresh_token: true
        always_require_a_client: true
        access_token_ttl: 3600
        refresh_token_ttl: 3600
        grant_types:
            - oauth2.authorization_server.grant_types.password
            - oauth2.authorization_server.grant_types.refresh_token
```

Usage
-----

[](#usage)

```
```

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Boris Guéry](https://github.com/borisguery)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

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

Unknown

Total

1

Last Release

3688d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e697c30c60bfd1c329e9661645ba5a79dd62d6375e48656b9ba9eaf54fd59956?d=identicon)[borisguery](/maintainers/borisguery)

---

Top Contributors

[![borisguery](https://avatars.githubusercontent.com/u/345495?v=4)](https://github.com/borisguery "borisguery (13 commits)")

### Embed Badge

![Health badge](/badges/borisguery-oauth2-server-bundle/health.svg)

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

###  Alternatives

[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

578630.7k1](/packages/scheb-2fa)[stfalcon/tinymce-bundle

This Bundle integrates TinyMCE WYSIWYG editor into a Symfony2 project.

2692.9M24](/packages/stfalcon-tinymce-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[symfony/ai-bundle

Integration bundle for Symfony AI components

30282.3k6](/packages/symfony-ai-bundle)[rikudou/psr6-dynamo-db-bundle

PSR-6 and PSR-16 cache implementation using AWS DynamoDB for Symfony

2077.8k](/packages/rikudou-psr6-dynamo-db-bundle)[leapt/core-bundle

Symfony LeaptCoreBundle

2529.1k4](/packages/leapt-core-bundle)

PHPackages © 2026

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