Looking to hire Laravel developers? Try LaraJobs

laravel-serve-swagger maintained by ensi

Description
Laravel serve swagger
Last update
2025/10/16 09:06 (dev-master)
License
Links
Downloads
62 348

Comments
comments powered by Disqus

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.