Skip to content

rodrigodotdev/laravel-swagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Swagger

A simple swagger integration with laravel

Installation

Require the package using composer:

composer require rayo/laravel-swagger

Publish the config file and view files using the following command:

php artisan vendor:publish --provider="Rayo\LaravelSwagger\SwaggerServiceProvider"

It will publish the config file swagger.php and the view file index.blade.php in the resources/views/vendor/laravel-swagger directory.

Usage

Drop your swagger json or yaml file in the storage/api-docs directory and update the config/swagger.php file with the file name.

return [
    'docs_yaml' => 'api-docs.yaml',

    'docs_json' => 'api-docs.json',
];

About

A simple swagger integration with laravel.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published