Generate a Postman Collection from Laravel Routes
Published on by Paul Redmond
Laravel API to Postman is a package by Andreas Elia that allows you to automatically generate a Postman collection based on your app’s API routes.
After you install the package, you can run the following artisan command, which will automatically generate a postman collection by introspecting your app’s API routes:
php artisan export:postman
Postman is a popular API development GUI that simplifies building and testing APIs. Once you have a collection of API endpoints from your Laravel app, you can easily share them with your team through Postman.
You can learn more about this package, get full installation instructions, and view the source code on GitHub.
This package was submitted to our Laravel News Links section. Links is a place the community can post packages and tutorials around the Laravel ecosystem. Follow along on Twitter @LaravelLinks