PHPackages                             colvin/api-platform-swagger-decorator - 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. colvin/api-platform-swagger-decorator

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

colvin/api-platform-swagger-decorator
=====================================

Swagger decorator for API Platform, adding JWT endpoints

2.0.2(5y ago)01.8kApache-2.0PHPPHP &gt;=8.0

Since Jul 21Pushed 5y agoCompare

[ Source](https://github.com/TheColvinCo/api-platform-swagger-decorator)[ Packagist](https://packagist.org/packages/colvin/api-platform-swagger-decorator)[ Docs](https://github.com/TheColvinCo/api-platform-swagger-decorator)[ RSS](/packages/colvin-api-platform-swagger-decorator/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (2)Versions (7)Used By (0)

### Swagger decorator for API Platform, adding JWT endpoints

[](#swagger-decorator-for-api-platform-adding-jwt-endpoints)

Install the package:

`composer req colvin/api-platform-swagger-decorator`

Define the service in `services.yaml`:

```
services:
    Colvin\Swagger\Decorator:
        decorates: 'api_platform.openapi.factory'
        autoconfigure: false

```

If you go to your api docs page you should now see a new group with JWT authentication and refresh endpoints.

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

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

Recently: every ~44 days

Total

6

Last Release

1944d ago

Major Versions

1.0.2 → 2.0.02021-01-12

PHP version history (2 changes)1.0.0PHP &gt;=7.4.0

2.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e62124e8a85338f374da680e274964b63a519c07461dec9b6e95efbca03dfe6?d=identicon)[Aaronidas](/maintainers/Aaronidas)

![](https://www.gravatar.com/avatar/19fd72cc95b31f3d32b35f2caeae4353bddff3fb17aa8f3bd9df4ead23ecb15b?d=identicon)[mdarnaculleta](/maintainers/mdarnaculleta)

![](https://www.gravatar.com/avatar/74d4812c74b1d70847428ddbe7193743e970baa901d20814938343d64188aff0?d=identicon)[jlopezxs](/maintainers/jlopezxs)

---

Top Contributors

[![akira28](https://avatars.githubusercontent.com/u/996257?v=4)](https://github.com/akira28 "akira28 (6 commits)")

---

Tags

jwtswaggertokenapiplatform

### Embed Badge

![Health badge](/badges/colvin-api-platform-swagger-decorator/health.svg)

```
[![Health](https://phpackages.com/badges/colvin-api-platform-swagger-decorator/health.svg)](https://phpackages.com/packages/colvin-api-platform-swagger-decorator)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[adhocore/jwt

Ultra lightweight JSON web token (JWT) library for PHP5.5+.

3031.6M15](/packages/adhocore-jwt)[psecio/jwt

A JWT (JSON Web Token) Encoding &amp; Decoding library

109352.2k2](/packages/psecio-jwt)[bizley/jwt

JWT integration for Yii 2

67425.3k2](/packages/bizley-jwt)[miladrahimi/php-jwt

A PHP implementation of JWT (JSON Web Token) generator, parser, verifier, and validator

70263.2k2](/packages/miladrahimi-php-jwt)[tuupola/branca

Authenticated and encrypted API tokens using modern crypto.

52309.2k1](/packages/tuupola-branca)

PHPackages © 2026

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