Download the PHP package nutandc/laravel-postman-generator without Composer
On this page you can find all versions of the php package nutandc/laravel-postman-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nutandc/laravel-postman-generator
More information about nutandc/laravel-postman-generator
Files in nutandc/laravel-postman-generator
Package laravel-postman-generator
Short Description Laravel Postman Documentation Generator with Postman v2.1 and OpenAPI outputs.
License MIT
Homepage https://github.com/Nutandc/Laravel-Postman-Generator
Informations about the package laravel-postman-generator
Laravel Postman Generator
Laravel Postman & OpenAPI Generator — auto-create Postman collections and OpenAPI 3.0 docs from Laravel routes with smart grouping, examples, and environment files.
Features
- Auto-scan Laravel routes
- Postman v2.1 collection output
- OpenAPI 3.0 JSON output
- Route metadata via PHP attributes
- FormRequest rule parsing for body/query examples
- Group routes into folders (by URI, name, or tag)
- Auth support (bearer, api key, basic)
- Default headers and sample payloads
- Postman variables for base URL and tokens
- Postman environment output
- Response examples via attributes/overrides or auto from request rules
- Extensible metadata providers
- Configurable output paths
Requirements
- PHP 8.2+
- Laravel 10/11/12
Installation
Publish config:
Copy .env.example keys into your Laravel .env file and update as needed.
Usage
Generate both outputs:
Generate only one format:
Attribute Example
Route Grouping
By default routes are grouped into folders by the first URI segment (e.g., api/users -> users).
You can change grouping strategy in config:
To remove debug routes (debugbar/clockwork/log-viewer), use scan filters:
Config Highlights
Environment Output
Environment files are generated alongside the collection:
Filters
Testing
License
MIT
All versions of laravel-postman-generator with dependencies
illuminate/filesystem Version ^10.0|^11.0|^12.0
illuminate/routing Version ^10.0|^11.0|^12.0
illuminate/support Version ^10.0|^11.0|^12.0