Skip to content
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.
/ laraman Public archive

A fluent way to export your Laravel routes to a Postman export.

Notifications You must be signed in to change notification settings

RL-Studio/laraman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laraman

Have you ever been building a huge API and you're sitting there with Postman to quickly look at your requests? It's tedious, right? So much copy-pasting routes and keeping track of them. Maybe at one point you started making some Postman collections? What if there was a better way, an easier way? There is. Laraman allows you to export all the routes that are registered in your application to a json file that can be imported into Postman.

Installation

Install via composer:

composer require --dev rl-studio/laraman

Add the service provider to your providers array in config/app.php

RLStudio\Laraman\ServiceProvider::class,

That's all!

Usage

To run the command, simply use

php artisan laraman:export

This will place a laraman-export.json inside your storage/app folder. You are free to change the name of the file by specifying the filename as follows:

php artisan laraman:export --name=my-app