PHPackages                             frowhy/swagger2postman - 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. frowhy/swagger2postman

ActiveLibrary[API Development](/categories/api)

frowhy/swagger2postman
======================

Swagger Json Convert To Postman Json

v2.0.8(9y ago)371MITPHPPHP &gt;=5.6

Since Nov 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/frowhy/Swagger2Postman)[ Packagist](https://packagist.org/packages/frowhy/swagger2postman)[ Docs](https://github.com/frowhy/Swagger2Postman)[ RSS](/packages/frowhy-swagger2postman/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (19)Used By (0)

Swagger2Postman
===============

[](#swagger2postman)

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

[](#installation)

The preferred method of installation is via [Packagist](https://packagist.org/) and [Composer](https://getcomposer.org/). Run the following command to install the package and add it as a requirement to your project's `composer.json`:

```
composer require frowhy/swagger2postman
```

Examples
--------

[](#examples)

```
use Frowhy\Swagger2Postman;

require_once __DIR__ . '/vendor/autoload.php';
header('Content-type: application/json');

$swagger2Postman = new Swagger2Postman();
$state = $swagger2Postman
    ->openFile('swagger.json')
    ->convertPostman()
    ->writeFile('postman.json');

$handle = fopen('swagger.json', 'r');
$swagger = fread($handle, filesize('swagger.json'));
fclose($handle);
$swagger2Postman = new Swagger2Postman();
$state = $swagger2Postman
    ->setSwagger($swagger)
    ->convertPostman()
    ->writeFile('postman.json');

$postman = $swagger2Postman
    ->openFile('swagger.json')
    ->convertPostman()
    ->getPostman();

echo $postman;
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

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

Total

18

Last Release

3479d ago

Major Versions

v1.8 → v2.0.02016-11-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/37436e7335e3222e043f1df0dcf4d7ab2bf8b64ec98d5fb655d2dd8ed4e26e69?d=identicon)[frowhy](/maintainers/frowhy)

---

Top Contributors

[![frowhy](https://avatars.githubusercontent.com/u/16863314?v=4)](https://github.com/frowhy "frowhy (8 commits)")

---

Tags

swaggerPostmanswagger2postman

### Embed Badge

![Health badge](/badges/frowhy-swagger2postman/health.svg)

```
[![Health](https://phpackages.com/badges/frowhy-swagger2postman/health.svg)](https://phpackages.com/packages/frowhy-swagger2postman)
```

###  Alternatives

[swagger-api/swagger-ui

 Swagger UI is a collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.

28.9k48.1M111](/packages/swagger-api-swagger-ui)[sylius/sylius

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

8.5k5.8M717](/packages/sylius-sylius)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k13.5M61](/packages/knuckleswtf-scribe)[google/gax

Google API Core for PHP

268111.6M516](/packages/google-gax)[temporal/sdk

Temporal SDK

4102.7M22](/packages/temporal-sdk)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)

PHPackages © 2026

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