nicolaskuster / laravel-apidoc
This package is abandoned and no longer maintained.
No replacement package was suggested.
Generates a Postman Collection of all your routes
v1.0.1
2018-05-04 12:07 UTC
Requires
- php: ^7.1
- ramsey/uuid: ^3.7
This package is not auto-updated.
Last update: 2020-01-15 17:22:49 UTC
README
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