The package allows you to output the Swagger UI by configuring only the paths to your openapi3 configs
You can install the package via composer:
composer require ensi/laravel-serve-swaggerPublish config file like this:
php artisan vendor:publish --provider="Ensi\LaravelServeSwagger\ServeSwaggerServiceProvider"Configure config/serve-swagger.php
| 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 |
Please see CONTRIBUTING for details.
- composer install
- composer test
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.