Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Postmangen Laravel Package

movemoveapp/laravel-postmangen

Laravel package that generates a Postman collection (JSON) from HTTP requests executed during PHPUnit tests. Configure via .env and phpunit.xml, install the PHPUnit extension and middleware to capture requests and export collections automatically.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • API Documentation & Testing Efficiency: Automatically generate Postman collections from PHPUnit tests, reducing manual effort in maintaining API documentation and enabling self-service API exploration for developers/QA.
  • Shift-Left Testing & Developer Experience: Accelerate API testing by providing a real-time, executable Postman collection derived from test suites, improving onboarding and reducing context-switching.
  • CI/CD Integration: Streamline API contract validation by embedding Postman collections in CI pipelines (e.g., trigger Postman API tests post-PHPUnit runs).
  • Build vs. Buy: Avoid reinventing wheel for teams with Laravel-based APIs; leverage this lightweight package instead of custom scripts or third-party tools like Postman’s CLI.
  • Use Cases:
    • Developer Productivity: Automatically sync Postman collections with test-driven API changes.
    • QA/Automation: Use generated collections for regression testing or manual validation.
    • Onboarding: Provide new hires with up-to-date API documentation in Postman format.

When to Consider This Package

Adopt if:

  • Your team uses Laravel + PHPUnit for API testing and wants to reduce manual Postman collection maintenance.
  • You prioritize developer efficiency and self-service API exploration (e.g., engineers/QA need quick access to API specs).
  • Your API contracts are dynamic (frequently updated via tests) and require automated documentation.
  • You’re already using Postman for API testing/design and want to eliminate sync drift between code and collections.

Look elsewhere if:

  • Your API tests are not comprehensive (e.g., critical endpoints are untouched by PHPUnit).
  • You rely on non-Laravel frameworks (e.g., Symfony, Express) or custom PSR-7 responses without statusCode()/statusText().
  • Your team prefers alternative tools (e.g., OpenAPI/Swagger generators like darkaonline/l5-swagger or Postman’s native CLI).
  • You need advanced Postman features (e.g., authentication, dynamic variables) that require manual overrides.
  • Your CI/CD pipeline doesn’t integrate PHPUnit or lacks Postman API support.

Red Flags:

  • Low adoption/maturity (0 stars, minimal documentation).
  • Limited feature parity with commercial tools (e.g., no built-in variable management).
  • Potential edge cases with custom middleware/responses (see v1.1.6 release notes).

How to Pitch It (Stakeholders)

For Executives: "This package automates the creation of Postman API collections directly from our PHPUnit tests, cutting manual documentation work by 80% and ensuring our API specs stay in sync with code changes. For every test run, we’ll generate an executable Postman collection—enabling faster QA, smoother onboarding, and reduced context-switching for devs. It’s a lightweight, zero-maintenance upgrade that aligns with our shift-left testing goals and integrates seamlessly with our existing Laravel stack. The cost? Just a few minutes to configure; the ROI? Hours saved weekly on API documentation and testing."

For Engineering Teams: *"Imagine running phpunit and instantly getting a Postman collection with all your API endpoints—no more copy-pasting URLs or guessing request bodies. This package hooks into our existing tests to auto-generate collections, so every time we update an endpoint, the docs update too. It’s perfect for:

  • Devs: Quickly explore APIs without leaving Postman.
  • QA: Validate endpoints with pre-configured collections.
  • Onboarding: Give new hires a ready-to-use API sandbox. The setup is trivial (add a middleware + config), and it plays nice with our Laravel/PHPUnit workflow. We’ll avoid the ‘Postman vs. code drift’ problem entirely."*

For QA/Automation: *"This tool will save us time by auto-generating Postman collections from our test suite. Instead of manually recreating API requests in Postman for regression testing, we’ll have a live, up-to-date collection that matches our test coverage. It’s especially useful for:

  • Smoke testing: Spin up Postman collections from CI artifacts.
  • Exploratory testing: Use generated collections to probe edge cases.
  • CI integration: Trigger Postman API tests automatically after PHPUnit runs. No more ‘works in code but not in Postman’ surprises!"*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
nasirkhan/laravel-sharekit
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony