PHPackages                             oat-sa/swagger-json-collector - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. oat-sa/swagger-json-collector

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

oat-sa/swagger-json-collector
=============================

Combine multiple swagger 2.0 documents into a single document

2.0.0(9y ago)027PHPCI failing

Since Sep 28Pushed 9y ago13 watchersCompare

[ Source](https://github.com/oat-sa/swagger-json-collector)[ Packagist](https://packagist.org/packages/oat-sa/swagger-json-collector)[ RSS](/packages/oat-sa-swagger-json-collector/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (1)Versions (5)Used By (0)

swagger-json-collector
======================

[](#swagger-json-collector)

Combines Swagger docs from various sources

### Example of usage

[](#example-of-usage)

Valid input formats are files that contains JSON, or JSON strings or PHP arrays. Formats can be mixed within the input array.

```
$collector = new DocsCollector();

$doc = $collector->generate(['swagger.json', '{ "swagger": "2.0",...}'], [ 'swagger' => '2.0',...]]);

file_put_contents('swaggerDoc.json', json_encode($doc))
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~106 days

Total

3

Last Release

3395d ago

Major Versions

v1.0.1 → 2.0.02017-04-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/98ddc6f1b615b1fac2d59f1e72d5dc6056cf6650414271da90cb3f0e203516fe?d=identicon)[bugalood](/maintainers/bugalood)

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

---

Top Contributors

[![zagovorichev](https://avatars.githubusercontent.com/u/1445911?v=4)](https://github.com/zagovorichev "zagovorichev (7 commits)")[![jbout](https://avatars.githubusercontent.com/u/5815304?v=4)](https://github.com/jbout "jbout (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/oat-sa-swagger-json-collector/health.svg)

```
[![Health](https://phpackages.com/badges/oat-sa-swagger-json-collector/health.svg)](https://phpackages.com/packages/oat-sa-swagger-json-collector)
```

###  Alternatives

[klaussilveira/simple-shm

SimpleSHM is a simple and small abstraction layer for shared memory manipulation using PHP.

1357.2k1](/packages/klaussilveira-simple-shm)

PHPackages © 2026

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