Download the PHP package oooiik/laravel-export-postman without Composer
On this page you can find all versions of the php package oooiik/laravel-export-postman. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download oooiik/laravel-export-postman
More information about oooiik/laravel-export-postman
Files in oooiik/laravel-export-postman
Package laravel-export-postman
Short Description Automatically generate a Postman collection based on your API routes.
License MIT
Informations about the package laravel-export-postman
Laravel Export to Postman
Package allows you to automatically generate a Postman collection based on your routes.
Installation
Configuration
You can modify any of the export-postman.php
config values to suit your export requirements.
Php Comments Documentation for API Annotations
Authentication
@AuthNo
No authentication is required for the annotated API endpoint.
@AuthParent
Inherits the authentication settings from the parent endpoint.
@AuthBearer [token]
Requires Bearer token authentication. Replace [token]
with the actual token. Example:
Headers
@Header [key] => [value]
Specifies a custom header for the API request.
Replace [key]
with the header name and [value]
with the header value.
Descriptions
@DescriptionContext [context]
Provides a brief description or context for the API request. Replace [context]
with the description.
@DescriptionBasePath [path]
Specifies the base path description for the API endpoint. Replace [path]
with the base path. Example:
@DescriptionResourcePath [path]
Specifies the resource path description for the API endpoint. Replace [path]
with the resource path.
Pre-Request Scripts
@PreRequestScriptContext [path]
Defines a pre-request script to be executed before the API request. Replace [path]
with the context or location of the script.
@PreRequestScriptFileBasePath [path]
Specifies the base path to the file containing the pre-request script. Replace [path]
with the file location relative to the base directory.
@PreRequestScriptFileResourcePath [path]
Specifies the resource path to the file containing the pre-request script. Replace [path]
with the specific file location.
Test Scripts
@TestScriptContext [context]
Defines a test script to be executed after the API request. Replace [context]
with the context or description of the test script.
@TestScriptFileBasePath [path]
Specifies the base path to the file containing the test script. Replace [path]
with the file location relative to the base directory.
@TestScriptFileResourcePath [path]
Specifies the resource path to the file containing the test script. Replace [path]
with the specific file location.
Example:
Usage
All versions of laravel-export-postman with dependencies
ext-json Version *
illuminate/config Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/console Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/contracts Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/support Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/routing Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0