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 3w ago

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 62% 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

1997d 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://avatars.githubusercontent.com/u/519137?v=4)[Aaronidas](/maintainers/Aaronidas)[@Aaronidas](https://github.com/Aaronidas)

![](https://avatars.githubusercontent.com/u/66317659?v=4)[mdarnaculleta](/maintainers/mdarnaculleta)[@mdarnaculleta](https://github.com/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

[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k51.2M337](/packages/api-platform-core)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k185.6M2.3k](/packages/symfony-security-bundle)[symfony/security-http

Symfony Security Component - HTTP Integration

1.7k177.2M379](/packages/symfony-security-http)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M418](/packages/drupal-core-recommended)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M568](/packages/shopware-core)

PHPackages © 2026

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