frostybee / openapi-playground
A self-hosted OpenAPI documentation viewer with Swagger UI and RapiDoc support.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
pkg:composer/frostybee/openapi-playground
Requires
- php: >=8.2
README
A self-hosted OpenAPI documentation viewer with Swagger UI and RapiDoc support. Ideal for students and developers learning API documentation tools and for testing localhost APIs without CORS issues.
Features
- Can be deployed to any web server environment.
- Provides both Swagger UI and RapiDoc documentation viewers.
- Enables seamless testing of localhost APIs without cross-origin restrictions.
- Designed to assist students and developers in learning API documentation tools.
- Lightweight implementation that doesn't depend on complex framework requirements.
Requirements
- PHP 8.2 or greater.
- Web server (Apache, Nginx, or equivalent HTTP server).
- Modern web browser.
- No additional database or server-side dependencies required.
Installation
Option 1: Using Composer (Recommended)
Requires Composer to be installed.
-
Navigate to your web server's document root folder.
-
Run the following command:
composer create-project frostybee/openapi-playground [project-name]
-
Point your web server's document root at the
public/directory of the created folder. -
Open the home page at
http://localhost/[project-name].
Option 2: Manual Installation
-
Clone the repository or download the ZIP and extract it:
git clone https://github.com/frostybee/openapi-playground.git [project-name]
-
Point your web server's document root at the
public/directory of the cloned folder. -
Open the home page at
http://localhost/[project-name].
Resources
License
This project is distributed under the MIT License. Users are free to use, modify, and distribute the software in accordance with the license terms. Contributions and feedback are welcome.