laravel-swagger-ui
Add Swagger UI to a Laravel application.
File Explorer
Download Latest Version (.zip)- run-linting.yml
- run-tests.yml
- swagger-ui.php
- index.blade.php
- InstallCommand.php
- OpenApiJsonController.php
- SwaggerOAuth2RedirectController.php
- SwaggerViewController.php
- EnsureUserIsAuthorized.php
- SwaggerServer.php
- GetEndpointTool.php
- GetGeneralInfoTool.php
- GetRequestBodyTool.php
- GetResponseTool.php
- GetSchemaTool.php
- ListEndpointsTool.php
- ListParametersTool.php
- ListRequestBodiesTool.php
- ListResponsesTool.php
- ListSchemasTool.php
- ListSwaggerFilesTool.php
- SwaggerFile.php
- SwaggerUiServiceProvider.php
- SwaggerUiServiceProvider.stub
- GetEndpointToolTest.php
- GetGeneralInfoToolTest.php
- GetRequestBodyToolTest.php
- GetResponseToolTest.php
- GetSchemaToolTest.php
- ListEndpointsToolTest.php
- ListParametersToolTest.php
- ListRequestBodiesToolTest.php
- ListResponsesToolTest.php
- ListSchemasToolTest.php
- ListSwaggerFilesToolTest.php
- openapi.json
- openapi.yaml
- AuthorizationTest.php
- OpenApiRouteTest.php
- SwaggerOAuth2RedirectRouteTest.php
- SwaggerUiRouteTest.php
- TestCase.php
- .editorconfig
- .gitattributes
- .gitignore
- .php-cs-fixer.php
- CHANGELOG.md
- composer.json
- CONTRIBUTING.md
- LICENSE.md
- phpcs.xml
- phpunit.xml.dist
- README.md
- UPGRADING.md
# Installation Guide
1. Get the code
git clone https://github.com/wotzebra/laravel-swagger-ui
Downloads the entire project code from GitHub to your computer.
cd laravel-swagger-ui
Moves into the project folder you just downloaded.
2. PHP (Composer)
Easy RecommendedPrerequisites
composer require wotz/laravel-swagger-ui
Type this command into your terminal and run it.
composer test
Type this command into your terminal and run it.
composer lint
Type this command into your terminal and run it.
Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
