PHPackages                             idrinth/phalcon-routes2openapi - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. idrinth/phalcon-routes2openapi

ActiveLibrary[HTTP &amp; Networking](/categories/http)

idrinth/phalcon-routes2openapi
==============================

Generates an JSON represantation of the routes registered via phalcon in an OpenAPI-compatible way.

2.0.2(5y ago)246[2 issues](https://github.com/Idrinth/phalcon-routes2openapi/issues)MITPHPPHP ^7.2

Since Jul 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Idrinth/phalcon-routes2openapi)[ Packagist](https://packagist.org/packages/idrinth/phalcon-routes2openapi)[ Docs](https://github.com/idrinth/phalcon-routes2openapi/)[ RSS](/packages/idrinth-phalcon-routes2openapi/feed)WikiDiscussions master Synced today

READMEChangelog (7)Dependencies (5)Versions (8)Used By (0)

Phalcon Routes to OpenApi
=========================

[](#phalcon-routes-to-openapi)

[![Build Status](https://camo.githubusercontent.com/119aee399669c7125dba47d97509614f0425c39abfc6d86ec06a9211a9b0be80/68747470733a2f2f7472617669732d63692e6f72672f496472696e74682f7068616c636f6e2d726f75746573326f70656e6170692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Idrinth/phalcon-routes2openapi) [![Codacy Badge](https://camo.githubusercontent.com/78a9068883d459519090114581adc541d9b57c94505deb97f026f09b57cbc3fd/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6165626231393732356234613432313839336231333430313764313265373137)](https://www.codacy.com/app/Idrinth/phalcon-routes2openapi?utm_source=github.com&utm_medium=referral&utm_content=Idrinth/phalcon-routes2openapi&utm_campaign=Badge_Grade) [![Codacy Badge](https://camo.githubusercontent.com/acab98f8515554ea75abe79400dbe50803e6d17e02d2ed8166feccac4efdd63f/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f436f7665726167652f6165626231393732356234613432313839336231333430313764313265373137)](https://www.codacy.com/app/Idrinth/phalcon-routes2openapi?utm_source=github.com&utm_medium=referral&utm_content=Idrinth/phalcon-routes2openapi&utm_campaign=Badge_Coverage)

This library generates a representation of the routes in your project ready to be used with any OpenApi-compatible service(swagger for example).

Additional Annotations
----------------------

[](#additional-annotations)

You can define returns via `@return-{status code} {mime-type} {schema}` with all but the status code being optional. For example:

```
     * @return-200 application/json {"type":"object"}
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 98.4% 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 ~125 days

Recently: every ~166 days

Total

7

Last Release

2090d ago

Major Versions

1.1.0 → 2.0.02019-08-19

PHP version history (2 changes)1.0.0PHP ^7

2.0.2PHP ^7.2

### Community

Maintainers

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

---

Top Contributors

[![Idrinth](https://avatars.githubusercontent.com/u/7874631?v=4)](https://github.com/Idrinth "Idrinth (63 commits)")[![HMMDeutschlandCloneBot](https://avatars.githubusercontent.com/u/71131603?v=4)](https://github.com/HMMDeutschlandCloneBot "HMMDeutschlandCloneBot (1 commits)")

---

Tags

apirestroutesdocumentation

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/idrinth-phalcon-routes2openapi/health.svg)

```
[![Health](https://phpackages.com/badges/idrinth-phalcon-routes2openapi/health.svg)](https://phpackages.com/packages/idrinth-phalcon-routes2openapi)
```

###  Alternatives

[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M232](/packages/nelmio-api-doc-bundle)[vyuldashev/laravel-openapi

Generate OpenAPI Specification for Laravel Applications

4571.2M](/packages/vyuldashev-laravel-openapi)[tartanlegrand/laravel-openapi

Generate OpenAPI Specification for Laravel Applications

38178.7k2](/packages/tartanlegrand-laravel-openapi)

PHPackages © 2026

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