PHPackages                             genxoft/swagger-php-module - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. genxoft/swagger-php-module

ActiveLibrary[API Development](/categories/api)

genxoft/swagger-php-module
==========================

Swagger-PHP module adapted for mezzio and laminas.

v0.1.3-stable(3y ago)3102MITPHPPHP ~7.4.0||~8.0.0||~8.1.0

Since Jul 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/genxoft/php-swagger-module)[ Packagist](https://packagist.org/packages/genxoft/swagger-php-module)[ RSS](/packages/genxoft-swagger-php-module/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (13)Versions (3)Used By (0)

Swagger PHP module
==================

[](#swagger-php-module)

Description
-----------

[](#description)

Swagger PHP module adapted for Mezzio/Laminas.

Requirements
------------

[](#requirements)

- PHP &gt;7.4
- Mezzio\\Template\\TemplateRendererInterface

Installation
------------

[](#installation)

The preferred way to install this wrapper is through [composer](http://getcomposer.org/download/).

```
php composer.phar require genxoft/php-swagger-module
```

or

```
composer require genxoft/php-swagger-module
```

or add to the require section of `composer.json`

```
"genxoft/php-swagger-module" : "*"

```

Setup
-----

[](#setup)

After installation of the package, you need to complete the following steps to use PHP Swagger module:

1. Add `\Genxoft\SwaggerPhpModule\ConfigProvider::class` to your config aggregator
2. Add and customize (if necessary) configuration (add file `php-swagger.global.php` into `config/autoload`)

```
