PHPackages                             ferror/openapi-coverage - 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. [API Development](/categories/api)
4. /
5. ferror/openapi-coverage

ActiveLibrary[API Development](/categories/api)

ferror/openapi-coverage
=======================

0.1.0-beta(2y ago)00MITPHPPHP ^8.2

Since Dec 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Ferror/openapi-coverage)[ Packagist](https://packagist.org/packages/ferror/openapi-coverage)[ RSS](/packages/ferror-openapi-coverage/feed)WikiDiscussions master Synced 1mo ago

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

[![Coverage Status](https://camo.githubusercontent.com/aebb2fa9e666e004e17373689e27d72c1dfa7d46af1acc6dde020ca6996420dc/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f466572726f722f6f70656e6170692d636f7665726167652f62616467652e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/aebb2fa9e666e004e17373689e27d72c1dfa7d46af1acc6dde020ca6996420dc/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f466572726f722f6f70656e6170692d636f7665726167652f62616467652e7376673f6272616e63683d6d6173746572)

Open API Coverage Calculator Symfony Bundle
===========================================

[](#open-api-coverage-calculator-symfony-bundle)

The Open API Coverage Calculator Symfony Bundle enables you to track another system metric - The API Documentation Coverage. The library extracts your application API endpoints via Symfony Routing and checks them against [NelmioAPIDocBundle](https://github.com/nelmio/NelmioApiDocBundle), the most popular library for Open API Specification in the [Symfony](https://github.com/symfony) ecosystem.

Installation
------------

[](#installation)

```
composer require --dev ferror/openapi-coverage
```

```
// bundles.php

return [
    Ferror\OpenapiCoverage\Symfony\Bundle::class => ['dev' => true, 'test' => true],
];
```

Usage
-----

[](#usage)

```
php bin/console ferror:check-openapi-coverage
```

> You can also specify the --threshold or (--t) option to define coverage level below which the command will fail.

```
php bin/console ferror:check-openapi-coverage --threshold 0.70
```

Example Result
--------------

[](#example-result)

```
Open API coverage: 75%
+- Missing documentation -+
| path          | method  |
+---------------+---------+
| /products/:id | get     |
+---------------+---------+

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

Every ~3 days

Total

2

Last Release

865d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/859d0bbd1ef0d0772cf6c515be1510752ba68743d03e84435ee7b2e6117a08f2?d=identicon)[Ferror](/maintainers/Ferror)

---

Top Contributors

[![Ferror](https://avatars.githubusercontent.com/u/17534504?v=4)](https://github.com/Ferror "Ferror (18 commits)")

---

Tags

openapiphpsymfony

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ferror-openapi-coverage/health.svg)

```
[![Health](https://phpackages.com/badges/ferror-openapi-coverage/health.svg)](https://phpackages.com/packages/ferror-openapi-coverage)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[drupal/core

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

19462.3M1.3k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[worksome/graphlint

A static analysis tool for GraphQL

13189.4k](/packages/worksome-graphlint)

PHPackages © 2026

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