PHPackages                             anl/postman-collection-generator - 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. anl/postman-collection-generator

ActiveProject[API Development](/categories/api)

anl/postman-collection-generator
================================

Postman collection generator

v1.3.1(7y ago)61113MITPHPPHP &gt;=7.2CI failing

Since Jan 10Pushed 6y ago2 watchersCompare

[ Source](https://github.com/AlbertLabarento/postman-collection-generator)[ Packagist](https://packagist.org/packages/anl/postman-collection-generator)[ RSS](/packages/anl-postman-collection-generator/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (5)Versions (11)Used By (0)

### Powered by [Postman Collection](https://www.getpostman.com/collection)

[](#powered-by-postman-collection)

[![Drag Racing](postman-logo.svg)](postman-logo.svg)

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

[](#installation)

```
composer require anl/postman-collection-generator

```

Lumen
-----

[](#lumen)

[Installation and Usage](docs/lumen.md)

About
-----

[](#about)

You might want to document your api, but wait!... setting up postman collection with your environment? Sure that's great but for developers who are not fond of doing this manually, Integrate **Postman Collection Generator** in your functional tests. Code while making your api well documented.

Postman Schema version
----------------------

[](#postman-schema-version)

Package currently supports

### Sample Output

[](#sample-output)

#### Collection

[](#collection)

[![Drag Racing](collection.png)](collection.png)

#### Collection Request and Example Response

[](#collection-request-and-example-response)

[![Drag Racing](example.png)](example.png)[![Drag Racing](example-2.png)](example-2.png)

Schema Structure
----------------

[](#schema-structure)

- CollectionSchema **PokemonApi**
    - CollectionItemSchema **PokemonTrainer**
        - CollectionSubItemSchema `TrainerLaboratory`
            - ItemSchema `Create Trainer Laboratory`
        - ItemSchema `Create Trainer`
            - RequestSchema
            - ResponseSchema\[\]
                - \[0\] `Create Trainer Successful`
                - \[1\] `Create Trainer Not Found`

Upcoming Releases
-----------------

[](#upcoming-releases)

### v2.0.0

[](#v200)

- PostmanGenerator a new Generation.
- We aim to lessen the code when documenting, how about a feature to automatically suggest the Example Name, Request Name and Sub-folders Name to your collection?

### v2.1.0

[](#v210)

- Will be adding Postman Lumen TestCase to override `call(...)` method Using the PostmanApiCallTrait we only get the instance of collection generator from the container.

### v2.2.0

[](#v220)

- A reliable Api needs to detect semantic changes automatically for you.

Latest Release
--------------

[](#latest-release)

### v1.3.0

[](#v130)

- This comes with the backwards-compatible manner of adding Lumen support for generating documentation.

Releases
--------

[](#releases)

### v1.2.2

[](#v122)

- Added PostmanGenerator helper [PostmanApiCallTrait](https://github.com/AlbertLabarento/postman-collection-generator/blob/master/src/Traits/PostmanApiCallTrait.php)

### v1.2.1

[](#v121)

- Resolved Issue #3
- Added caching mechanism for generated collection.
- Added Persistence mechanism thanks to [Nathan Page](https://github.com/natepage)

### v1.1.1

[](#v111)

- Updated documentation.

### v1.0

[](#v10)

- Be able to modify existing collection.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~18 days

Recently: every ~8 days

Total

8

Last Release

2596d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/74a34ac5476789f20232cf1729d401c23ac8e77f0649c280dbee1e4cd52e0024?d=identicon)[AlbertLabarento](/maintainers/AlbertLabarento)

---

Top Contributors

[![AlbertLabarento](https://avatars.githubusercontent.com/u/186668953?v=4)](https://github.com/AlbertLabarento "AlbertLabarento (6 commits)")[![natepage](https://avatars.githubusercontent.com/u/11576446?v=4)](https://github.com/natepage "natepage (3 commits)")[![dextercampos](https://avatars.githubusercontent.com/u/27075066?v=4)](https://github.com/dextercampos "dextercampos (1 commits)")

---

Tags

apidocumentationPostmanpostman collection generatorpostman generator

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/anl-postman-collection-generator/health.svg)

```
[![Health](https://phpackages.com/badges/anl-postman-collection-generator/health.svg)](https://phpackages.com/packages/anl-postman-collection-generator)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[phpdocumentor/phpdocumentor

Documentation Generator for PHP

4.3k3.1M903](/packages/phpdocumentor-phpdocumentor)[showdoc/showdoc

ShowDoc is a tool greatly applicable for an IT team to share documents online

12.8k7.1k](/packages/showdoc-showdoc)[temporal/sdk

Temporal SDK

4102.7M22](/packages/temporal-sdk)[darkaonline/swagger-lume

OpenApi or Swagger integration to Lumen

3322.4M3](/packages/darkaonline-swagger-lume)[pronamic/wp-documentor

Documentation Generator for WordPress.

6531.7k7](/packages/pronamic-wp-documentor)

PHPackages © 2026

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