Looking to hire Laravel developers? Try LaraJobs

laravel-apidoc maintained by nicolaskuster

Description
Generates a Postman Collection of all your routes
Last update
2018/05/04 14:07 (dev-master)
License
Downloads
415

Comments
comments powered by Disqus

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