Download the PHP package kakuilan/swaggervel without Composer
On this page you can find all versions of the php package kakuilan/swaggervel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download kakuilan/swaggervel
More information about kakuilan/swaggervel
Files in kakuilan/swaggervel
Download kakuilan/swaggervel
More information about kakuilan/swaggervel
Files in kakuilan/swaggervel
Vendor kakuilan
Package swaggervel
Short Description A great way to integrate Swagger into Laravel
License MIT
Package swaggervel
Short Description A great way to integrate Swagger into Laravel
License MIT
Please rate this library. Is it a good library?
Informations about the package swaggervel
swaggervel
appointer/swaggervel backup
Installation
- Execute
composer require kakuilan/swaggervel:dev-main
within your laravel root directory - Add
Appointer\Swaggervel\SwaggervelServiceProvider::class
to your providers array inapp/config/app.php
above your route provider, to avoid any catch-all routes - Run
php artisan vendor:publish --tag=public
to push swagger-ui to your public folder (can be found in public/vendor/swaggervel). - Optionally run
php artisan vendor:publish --tag=config
to push the swaggervel default config into your application's config directory. - Optionally run
php artisan vendor:publish --tag=views
to push the swaggervel index view file intoresources/views/vendor/swaggervel
.
Examples (when using the default configuration)
- www.example.com/docs <- You may find your automatically generated Swagger .json-File there
- www.example.com/api/docs <- Access to your Swagger UI
Options
All options are well commented within the swaggervel.php config file.
How to Use Swagger-php
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.
All versions of swaggervel with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6.0
illuminate/support Version ^5.0|^6.0|^7.0|^8.0|^9.0
swagger-api/swagger-ui Version ^3.1
zircote/swagger-php Version ^2.0
kakuilan/php-helper Version *
illuminate/support Version ^5.0|^6.0|^7.0|^8.0|^9.0
swagger-api/swagger-ui Version ^3.1
zircote/swagger-php Version ^2.0
kakuilan/php-helper Version *
The package kakuilan/swaggervel contains the following files
Loading the files please wait ....