Download the PHP package samody/laravel-smart-postman-generator without Composer

On this page you can find all versions of the php package samody/laravel-smart-postman-generator. 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 laravel-smart-postman-generator

Laravel Smart Postman Generator

A smarter Laravel-to-Postman exporter focused on generating clean, organized, and documentation-ready Postman collections with minimal manual cleanup.

Built as an enhanced fork of the original:

This project expands the original idea into a more production-ready API documentation generator for modern Laravel applications.


Why Use This?

The common problems with generated Postman collections:

This package solves those issues by generating:


Installation


Publish Configuration


Quick Start

Export entire API:

Export only a specific API section:

Export with JSON request bodies:

Export with bearer authentication:


Features

Core Export Features


Smart Export Features

Route Path Filtering

Export only a section of your API instead of regenerating the entire collection.

Useful for:


JSON Body Support

Export request bodies as:

Example:


Body Mode Detection

Control how request bodies are generated.

Supported modes:

Mode Description
formdata Always generate form-data
json Always generate JSON
auto Automatically detect best body type

FormRequest Validation Export

Automatically parse Laravel FormRequest validation rules and export them into Postman request bodies.

Supports:


Smart Naming System (Planned)

Automatically convert technical route paths into readable Postman request names.

Example:

Route Method Generated Name
api/user/profile GET Get User Profile
api/user/logout POST Request User Logout
api/user/orders/{id}/cancel POST Cancel User Order

This removes the need for manually renaming hundreds of requests after export.


Automatic Folder Grouping (Planned)

Automatically organize requests into folders.

Group By Controller

Group By Path

Config example:

Supported options:


Structured JSON Generation (Planned)

Generate real nested JSON payloads from FormRequest validation rules.

Current Flat Output

Planned Structured Output


Example Value Generation (Planned)

Automatically generate intelligent example values.

Example:

Potential support:


Configuration

Configuration file:


Example Configuration


Usage

Export Entire API


Export Specific API Section


Export Using JSON Bodies


Export With Bearer Token


Export With Basic Auth


Output Location

Generated collections are stored in:


Example Generated Improvements

Before

After


Before

After


Roadmap

Phase 1


Phase 2


Phase 3


Phase 4


Testing


Real-World Benefits

Development

✅ Faster API testing
✅ Cleaner Postman collections
✅ Less manual cleanup
✅ Better onboarding for teams
✅ Easier frontend/backend collaboration


Documentation

✅ Documentation-ready exports
✅ Human-readable request names
✅ Organized request grouping
✅ Better payload representation


Team Collaboration

✅ Consistent Postman structures
✅ Easier API navigation
✅ Faster endpoint discovery
✅ Cleaner API handoffs


Contributing

Contributions are welcome.

You can:


Credits

Original Package

Andreas Elia
andreaselia/laravel-api-to-postman


Smart Fork & Enhancements

Maintained as an enhanced developer-experience focused fork.


License

MIT


All versions of laravel-smart-postman-generator with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
ext-json Version *
illuminate/config Version ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/console Version ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/contracts Version ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/filesystem Version ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/routing Version ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/validation Version ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
phpstan/phpdoc-parser Version ^1.26|^2.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 samody/laravel-smart-postman-generator contains the following files

Loading the files please wait ...