Install the package by the following command,
composer require ladumor/laravel-swagger
Add the provider to your config/app.php
into provider
section if using lower version of laravel,
Ladumor\LaravelSwagger\LaravelSwaggerServiceProvider::class,
Add the Facade to your config/app.php
into aliases
section,
'LaravelSwagger' => \Ladumor\LaravelSwagger\LaravelSwaggerServiceProvider::class,
Run the following command to publish config file,
php artisan laravel-swagger:generate
Route::get('/swagger-docs', function () {
return view('swagger.index');
});
- One Signal
- Laravel PWA (Progressive Web Application)
The MIT License (MIT). Please see License File for more information