Live API Testing Inside Your Documentation
binarytorch/larecipe-swagger is a Laravel package for live api testing inside your documentation.
It currently has 34 GitHub stars and 62.962 downloads on Packagist (latest version v0.2).
Install it with composer require binarytorch/larecipe-swagger.
Discover more Laravel packages by binarytorch
or browse all Laravel packages to compare alternatives.
Last updated
LaRecipe is simply a code-driven package provides an easy way to create beautiful documentation for your product or application inside your Laravel app.

composer require binarytorch/larecipe-swagger
<larecipe-swagger endpoint="/api/v1/users"></larecipe-swagger>

| Prop | Type | Default | Example |
| - | - | - | - |
| base-url | String | The current location origin | https://example.com |
| endpoint | String | - | /api/v1/users |
| default-headers | Object | - | { 'Content-Type': 'application/json' } |
| default-params | Object | - | { 'name': 'saleem' } |
| default-method | String | get | get,post,put,patch,update,delete |
| has-common-headers | Boolean | false | { 'Content-Type': 'application/json', 'Accept': 'application/json' } |
| has-auth-header | Boolean | false | { 'Authorization': 'Bearer token_here' } |
This library is licensed under the MIT License - see the LICENSE.md file for details.