Registry / web-framework / swagger-api-swagger-ui

swagger-api-swagger-ui

JSON →
library5.32.6phppackagistunverified

Swagger UI is a collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.

composer require swagger-api/swagger-ui
INSTALL
IMPORT
SIG · SWAGGER-API-SWAGGE
S
swagger-api-swagger-ui
web-frameworkphpv5.32.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SwaggerUI
use Swagger\UI\SwaggerUI;

Render Swagger UI from an OpenAPI spec

use Swagger\UI\SwaggerUI; $ui = new SwaggerUI(); echo $ui->render('/path/to/openapi.yaml');
Debug
Known issues
gotchaThis package provides static assets; PHP usage requires a server to serve the files.
fix
Serve the assets via a web server or use a PHP wrapper.
affects: >=5.0.0
Upgrade
Version history
5.32.6latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
4
Amazon
1
Resources
swagger-api-swagger-ui — pip install swagger-api-swagger-ui · libregistry