Download the PHP package owowagency/automated-api-docs without Composer
On this page you can find all versions of the php package owowagency/automated-api-docs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download owowagency/automated-api-docs
More information about owowagency/automated-api-docs
Files in owowagency/automated-api-docs
Package automated-api-docs
Short Description Automated API docs in OWOW style.
License MIT
Informations about the package automated-api-docs
Auto generated documentation for APIs
Installation
Installation and setup time is estimated to be around 5 to 10 minutes. Install this package via composer.
If you're using Laravel >= 5.5 this package will automatically be added to your providers list. If using a lower version, add the service provider to the providers
array in config/app.php
.
You're now ready for setup.
The package comes with a config file. The default config should be good in most use cases. However, feel free to change it. To publish the config file run the following command
Setup
After installation, and optionally configuration, we need to setup the package. The package usage a hook in the HTTP calls to your app via the feature tests to monitor all requests and responses.
Firstly, you need to use the trait to enable to monitor hook.
Secondly, you need to register a shutdown function so that the package now when to parse the docs into a custom format which is readable for the parsers.
Next, you need to add this file to the root of your Laravel application. If this file already exists in your app you probably only need to copy the documentation
task.
Finally, make sure to add the following command envoy run documentation
in your deployment script. For example on Laravel Forge.
You're now ready to register all the monitor hooks. You can do that by calling the monitor()
method before calling a route.