Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shailesh-ladumor/laravel-swagger
Ladumor Laravel Swagger help to setup swagger in your application easily
https://github.com/shailesh-ladumor/laravel-swagger
laravel swagger swagger-ui
Last synced: about 2 months ago
JSON representation
Ladumor Laravel Swagger help to setup swagger in your application easily
- Host: GitHub
- URL: https://github.com/shailesh-ladumor/laravel-swagger
- Owner: shailesh-ladumor
- License: mit
- Created: 2021-11-06T13:32:18.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-08T13:06:35.000Z (about 3 years ago)
- Last Synced: 2024-10-14T02:25:26.938Z (2 months ago)
- Topics: laravel, swagger, swagger-ui
- Language: PHP
- Homepage:
- Size: 5.86 KB
- Stars: 23
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[![Latest Stable Version](http://poser.pugx.org/ladumor/laravel-swagger/v)](https://packagist.org/packages/ladumor/laravel-swagger)
[![Daily Downloads](http://poser.pugx.org/ladumor/laravel-swagger/d/daily)](https://packagist.org/packages/ladumor/laravel-swagger)
[![Monthly Downloads](http://poser.pugx.org/ladumor/laravel-swagger/d/monthly)](https://packagist.org/packages/ladumor/laravel-swagger)
[![Total Downloads](http://poser.pugx.org/ladumor/laravel-swagger/downloads)](https://packagist.org/packages/ladumor/laravel-swagger)
[![License](http://poser.pugx.org/ladumor/laravel-swagger/license)](https://packagist.org/packages/ladumor/laravel-swagger)
[![PHP Version Require](http://poser.pugx.org/ladumor/laravel-swagger/require/php)](https://packagist.org/packages/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](https://github.com/shailesh-ladumor/one-signal)
* [Laravel PWA](https://github.com/shailesh-ladumor/laravel-pwa) (Progressive Web Application)## Learn Laravel Packages here
[](https://www.youtube.com/c/LaravelPackageTutorial)### License
The MIT License (MIT). Please see [License](LICENSE.md) File for more information