Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 2.07 KB

README.md

File metadata and controls

52 lines (34 loc) · 2.07 KB

Laravel serve swagger

Latest Version on Packagist Tests Total Downloads

The package allows you to output the Swagger UI by configuring only the paths to your openapi3 configs

Installation

You can install the package via composer:

composer require ensi/laravel-serve-swagger

Publish config file like this:

php artisan vendor:publish --provider="Ensi\LaravelServeSwagger\ServeSwaggerServiceProvider"

Configure config/serve-swagger.php

Version Compatibility

Laravel Serve Swagger Laravel PHP
^0.1.0 ^5.8 ^7.1.3
^0.1.7 ^8.0 ^7.1.3 || ^8.0
^0.2.0 ^8.0 ^7.1.3 || ^8.0
^0.3.0 ^8.0 ^7.1.3 || ^8.0
^0.3.1 ^8.0 || ^9.0 ^8.0
^0.3.2 ^8.0 || ^9.0 || ^10.0 || ^11.0 ^8.0
^0.4.0 ^9.0 || ^10.0 || ^11.0 ^8.1

Contributing

Please see CONTRIBUTING for details.

Testing

  1. composer install
  2. composer test

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

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