ensi/laravel-serve-swagger

Laravel serve swagger

0.4.0 2024-06-26 12:51 UTC

This package is auto-updated.

Last update: 2024-10-27 09:10:13 UTC


README

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

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.