ladumor/laravel-swagger
Laravel Swagger
Installation
Install the package by the following command,
composer require ladumor/laravel-swagger
Add Provider
Add the provider to your config/app.php into provider section if using lower version of laravel,
Ladumor\LaravelSwagger\LaravelSwaggerServiceProvider::class,
Add Facade
Add the Facade to your config/app.php into aliases section,
'LaravelSwagger' => \Ladumor\LaravelSwagger\LaravelSwaggerServiceProvider::class,
Generate Swagger file and publish the Assets. like, view
Run the following command to publish config file,
php artisan laravel-swagger:generate
Add route in web.php file
Route::get('/swagger-docs', function () {
return view('swagger.index');
});
Other Packages
- One Signal
- Laravel PWA (Progressive Web Application)
Learn Laravel Packages here
License
The MIT License (MIT). Please see License File for more information
Related Packages
nilsenj/toastr-5.1-laravel
toastr.js for Laravel 5.1/5.2 easy notification like growl for example
34,116
6
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 1.0.0 | >=5.6 | >=5.4 | MIT |