Skip to content

shailesh-ladumor/laravel-swagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable Version Daily Downloads Monthly Downloads Total Downloads License PHP Version Require

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

Learn Laravel Packages here

License

The MIT License (MIT). Please see License File for more information

About

Ladumor Laravel Swagger help to setup swagger in your application easily

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages