{"repo":"andreaselia/laravel-api-to-postman","free":true,"listed":false,"github":"https://github.com/andreaselia/laravel-api-to-postman","clone":"git clone https://github.com/andreaselia/laravel-api-to-postman.git","description":"Generate a Postman collection automatically from your Laravel API","language":"PHP","stars":1053,"topics":["postman","collection","api","route","generator","laravel-package","insomnia"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Laravel API to Postman This package allows you to automatically generate a Postman collection based on your API routes. It also provides basic configuration and support for bearer auth tokens and basic auth for routes behind an auth middleware. For and requests that utilizes a FormRequest, you can optionally scaffold the request, and publish rules in raw or human readable format. Postman Schema The generator works for the latest version of the Postman Schema at the time of publication (v2.1.0). Installation Install the package: Publish the config file: Configuration You can modify any of the api-postman.php config values to suit your export requirements. Click here to view the config attributes. Usage The output of the command being ran is your storage/app directory. To use the command simply run: The following usage will generate routes with the bearer token specified. The following usage will generate routes with the basic auth specified. If both auths are specified, bearer will be favored. Examples This is with the default configuration and a bearer token passed in: - Example routes - Example default output - Example structured output Contributing You're more than welcome to submit a pull request, or if you're not feeling up to it - create an issue so someone else can pick it up.","default_branch":null,"files":null,"tree":[],"storefront":"/r/andreaselia","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/andreaselia/laravel-api-to-postman/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}