定制 paws1234/laravel-postman-generator 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

paws1234/laravel-postman-generator

最新稳定版本:v1.0.0

Composer 安装命令:

composer require paws1234/laravel-postman-generator

包简介

Generate Postman collections & environments from Laravel routes and FormRequests.

README 文档

README

Build Status Coverage Status

Generate Postman collections + environments from Laravel routes and FormRequests.

Requirements

  • PHP 8.1+ (Laravel 9)
  • PHP 8.2+ (Laravel 10/11/12)
  • Laravel 9/10/11/12

Installation

Install via Packagist:

composer require paws1234/laravel-postman-generator --dev

No need to modify your composer.json manually—Composer will fetch the package automatically.

Usage

Generate Postman collection:

php artisan postman:generate

Clear generated files:

php artisan postman:clear

Configuration

Publish and edit the config file:

php artisan vendor:publish --provider="paws1234\LaravelPostmanGenerator\PostmanGeneratorServiceProvider"

Features

  • Postman collection and environment generation
  • FormRequest body inference
  • Multi-auth support
  • Grouping by prefix/controller
  • Deterministic output
  • CLI commands for generation and cleanup

Requirements

  • PHP 8.1+ (Laravel 9)
  • PHP 8.2+ (Laravel 10/11/12)
  • Laravel 9/10/11/12

How It Works

  • Scans routes and FormRequests
  • Builds Postman collections and environments
  • Supports advanced grouping and authentication

Testing

Run tests with:

vendor/bin/phpunit --testdox

Contributing

PRs and issues welcome! Please ensure new features include tests.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-31