anl/postman-collection-generator
Composer 安装命令:
composer create-project anl/postman-collection-generator
包简介
Postman collection generator
README 文档
README
Powered by Postman Collection
Installation
composer require anl/postman-collection-generator
Lumen
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
Package currently supports https://schema.getpostman.com/json/collection/v2.0.0/docs/index.html
Sample Output
Collection
Collection Request and Example Response
Schema Structure
- CollectionSchema PokemonApi
- CollectionItemSchema PokemonTrainer
- CollectionSubItemSchema
TrainerLaboratory- ItemSchema
Create Trainer Laboratory
- ItemSchema
- ItemSchema
Create Trainer- RequestSchema
- ResponseSchema[]
- [0]
Create Trainer Successful - [1]
Create Trainer Not Found
- [0]
- CollectionSubItemSchema
- CollectionItemSchema PokemonTrainer
Upcoming Releases
v2.0.0
- 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
- 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
- A reliable Api needs to detect semantic changes automatically for you.
Latest Release
v1.3.0
- This comes with the backwards-compatible manner of adding Lumen support for generating documentation.
Releases
v1.2.2
- Added PostmanGenerator helper PostmanApiCallTrait
v1.2.1
- Resolved Issue #3
- Added caching mechanism for generated collection.
- Added Persistence mechanism thanks to Nathan Page
v1.1.1
- Updated documentation.
v1.0
- Be able to modify existing collection.
anl/postman-collection-generator 适用场景与选型建议
anl/postman-collection-generator 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 111 次下载、GitHub Stars 达 6, 最近一次更新时间为 2018 年 11 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「documentation」 「api」 「Postman」 「postman collection generator」 「postman generator」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 anl/postman-collection-generator 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 anl/postman-collection-generator 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 anl/postman-collection-generator 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Bookdown.io With Bootswatch Styles And Prism Syntax Highlighting
Export laravel API routes to postman
Laravel package that generates RESTful API documentation in Markdown based on PHPDoc.
A PSR-7 compatible library for making CRUD API endpoints
Laravel API documentation generating tool
Export your Laravel routes to a Postman collection .json file
统计信息
- 总下载量: 111
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-11-27


