ensi/laravel-serve-swagger

Laravel serve swagger

0.4.0 2024-06-26 12:51 UTC

This package is auto-updated.

Last update: 2024-06-27 08:30:23 UTC


README

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.