Download the PHP package mirxan/postman-exporter without Composer

On this page you can find all versions of the php package mirxan/postman-exporter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package postman-exporter

Laravel Postman Exporter 📨

A developer-friendly Laravel package that automatically generates a complete Postman collection from your routes using PHPDoc-style comments or global configuration. It supports response/parameter detection, headers, bearer authentication, resource structure detection, folder-based grouping — and even Postman environment export!


🚀 Installation

Via Composer:

If you're installing from a GitHub repo:

🔧 Publish Configuration

Run the following command to publish the configuration file:

This will create the config file at:

config/postman-exporter.php

⚙️ Configuration Example

📤 Exporting Postman Collection

Run the export command:

It will generate the collection file in:

storage/app/postman/

You can import the .json file into Postman to test your Laravel API endpoints.

🔄 Optional: Sync with Postman API

If you want to automatically sync your collection and environment with Postman (via their API), run the command with the --sync option:

This will:

✅ Upload or update your collection on your Postman account ✅ Upload or update your environment file

🌍 Exporting Postman Environment This package also exports a ready-to-use Postman environment file:

This allows you to easily manage API variables like APP_URL, TOKEN, etc., within Postman.

✏️ DocBlock Comments for Customization

Add PHPDoc-style annotations to your controller methods:

These annotations will be parsed and added to your Postman request definition.

📦 Response Auto-Detection

Automatically detects JsonResource and ResourceCollection responses:

return new UserResource($user); // → type: object

return UserResource::collection($users); // → type: array[object]

This removes the need for manually defining response schemas.

📁 Output Example

storage/app/postman/1721753093_myapp_collection.json

storage/app/postman/laravel_environment.json

You can import both the collection and environment JSON files into Postman.

✅ Features ✅ Laravel 9.x to 12.x support

✅ PHP 8.0 to 8.4 compatibility

✅ Automatically generates Postman collections

✅ Header and parameter detection from PHPDoc

✅ JsonResource and Collection detection

✅ Environment file generation with custom variables

✅ Folder-based grouping and authentication

✅ Supports content types: form-data, json, x-www-form-urlencoded

🛠 Contributing

Pull requests are welcome! Please feel free to open issues or suggest features.

📄 License

MIT License © 2025 Muhammadamin Nematov ([email protected])


All versions of postman-exporter with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4
illuminate/support Version ^9.0 || ^10.0 || ^11.0 || ^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mirxan/postman-exporter contains the following files

Loading the files please wait ...