Download the PHP package radebatz/openapi-router without Composer
On this page you can find all versions of the php package radebatz/openapi-router. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download radebatz/openapi-router
More information about radebatz/openapi-router
Files in radebatz/openapi-router
Package openapi-router
Short Description Routing adapter for OpenApi annotations.
License MIT
Homepage http://radebatz.net/mano/
Informations about the package openapi-router
openapi-router
Introduction
Allows to (re-)use Swagger-PHP attributes (docblock annotations are deprecated), to configure routes in the following frameworks:
Requirements
- PHP 8.1 or higher - depending on framework version.
Installation
You can use composer or simply download the release.
Composer
The preferred method is via composer. Follow the installation instructions if you do not already have composer installed.
Once composer is installed, execute the following command in your project root to install this library:
After that all required classes should be availabe in your project to add routing support.
Basic usage
Example using the Slim
framework adapter and standard OpenApi attributes only.
Controller
index.php
Documentation
- Configuration
License
The openapi-router project is released under the MIT license.
All versions of openapi-router with dependencies
psr/log Version ^1.1 || ^2.0 || ^3.0
psr/simple-cache Version ^1.0 || ^2.0 || ^3.0
radebatz/openapi-extras Version ^2.1
slim/slim Version ^4.14
zircote/swagger-php Version ^4.11.1