saeedvaziry / laravel-swagger
Laravel Swagger Generator
1.0.5
2019-03-13 21:06 UTC
Requires
- php: >=7.1.3
- laravel/framework: ^5.5
- swagger-api/swagger-ui: ^3.0
- symfony/yaml: ^4.1
- zircote/swagger-php: ~2.0|3.*
Requires (Dev)
- mockery/mockery: 1.*
- orchestra/testbench: 3.6.*
- php-coveralls/php-coveralls: ^2.0
- phpunit/phpunit: 7.*
Suggests
- zircote/swagger-php:~2.0: !!! Require Swagger-PHP ~2.0 for @SWG annotations support !!!
README
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.