kakuilan/swaggervel is a Laravel package for a great way to integrate swagger into laravel.
It currently has 0 GitHub stars and 2.682 downloads on Packagist (latest version 0.0.4).
Install it with composer require kakuilan/swaggervel.
Discover more Laravel packages by kakuilan
or browse all Laravel packages to compare alternatives.
Last updated
appointer/swaggervel backup
composer require kakuilan/swaggervel:dev-main within your laravel root directoryAppointer\Swaggervel\SwaggervelServiceProvider::class to your providers array in app/config/app.php above your route provider, to avoid any catch-all routesphp artisan vendor:publish --tag=public to push swagger-ui to your public folder (can be found in public/vendor/swaggervel).php artisan vendor:publish --tag=config to push the swaggervel default config into your application's config directory.php artisan vendor:publish --tag=views to push the swaggervel index view file into resources/views/vendor/swaggervel.All options are well commented within the swaggervel.php config file.
The actual Swagger spec is beyond the scope of this package. All Swaggervel does is package up swagger-php and swagger-ui in a Laravel-friendly fashion, and tries to make it easy to serve. For info on how to use swagger-php look here. For good examples of swagger-php in action look here.