A quick "Hello World" Laravel application, but for generating OpenAPI, using the Laravel extension Swagger-PHP.
This repository was built as sample code for the Bump.sh guide on Generating OpenAPI docs for Laravel with Swagger-PHP.
Clone the repository down to give it a try.
# Set everything up
$ composer install
# Export the OpenAPI
$ ./vendor/bin/openapi app -o openapi.yaml
# Take a look at the generated OpenAPI
cat openapi.yaml
Preview how the API reference docs look on Bump.sh.
The contents of this repository are licensed under CC BY-NC-SA 4.0.