Skip to content
This repository has been archived by the owner on Aug 12, 2019. It is now read-only.

Generates a Postman Collection of all your routes

License

Notifications You must be signed in to change notification settings

nicolaskuster/laravel-apidoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Generate memorable passwords in a Laravel app

Generate a postman collection and a markdown file of all your routes. To map HTTP-Bodys an validation rules to the output you have to use FormRequests.

Installation

You can install the package via composer:

composer require nicolaskuster/laravel-apidoc

You can publish the config-file with:

php artisan vendor:publish --provider="Nicolaskuster\ApiDoc\Providers\ApiDocServiceProvider"

Register the Service Provider in app/Providers/AppServiceProvider.php

    public function register()
    {
        if ($this->app->environment() === 'local') {
            $this->app->register(\Nicolaskuster\ApiDoc\Providers\ApiDocServiceProvider::class);
        }
    }

Usage

php artisan api:doc

About

Generates a Postman Collection of all your routes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages