binarytorch / larecipe-swagger
Live API Testing Inside Your Documentation
                                    Fund package maintenance!
                                                                            
                                                                                                                                        saleem-hadad
                                                                                    
                                                                
Installs: 54 606
Dependents: 2
Suggesters: 0
Security: 0
Stars: 34
Watchers: 4
Forks: 4
Language:Vue
pkg:composer/binarytorch/larecipe-swagger
Requires
- php: >=7.1.0
This package is auto-updated.
Last update: 2025-10-29 02:36:30 UTC
README
LaRecipe Swagger
Let your users tests your APIs directly from the documentation!
LaRecipe 🍪
LaRecipe is simply a code-driven package provides an easy way to create beautiful documentation for your product or application inside your Laravel app.
Getting Started
- Install the package via composer.
composer require binarytorch/larecipe-swagger
- Use the provided VueJs component:
<larecipe-swagger endpoint="/api/v1/users"></larecipe-swagger>
- Test your API:
- Customize your component via props:
| 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' } | 
See full larecipe documentation
License
This library is licensed under the MIT License - see the LICENSE.md file for details.