Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/saeedvaziry/laravel-swagger

Laravel Swagger API Generator
https://github.com/saeedvaziry/laravel-swagger

laravel laravel-swagger

Last synced: 3 months ago
JSON representation

Laravel Swagger API Generator

Awesome Lists containing this project

README

        

# Laravel Swagger

Laravel Swagger UI Generator

## Installation

`composer require saeedvaziry/laravel-swagger`

Make sure you have this packages in your `composer.json` :

"swagger-api/swagger-ui": "^3.19",
"zircote/swagger-php": "~2.0"

## Usage

`php artisan laravel-swagger:generate --source=app/Http/Controllers --output=api-docs`

This will generate `api-docs.json` in `storage/api-docs` folder

## License

The Laravel Swagger is open-sourced software licensed under the MIT license.