PHPackages                             codeit/swagger-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. [HTTP &amp; Networking](/categories/http)
4. /
5. codeit/swagger-module

ActiveLibrary[HTTP &amp; Networking](/categories/http)

codeit/swagger-module
=====================

Laminas Framework Module for Swagger/OpenAPI resource file generation

4.0.2(5y ago)028Apache-2.0PHPPHP ^7.0

Since Jan 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/xl32/SwaggerModule)[ Packagist](https://packagist.org/packages/codeit/swagger-module)[ Docs](https://github.com/xl32/SwaggerModule)[ RSS](/packages/codeit-swagger-module/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

SwaggerModule
=============

[](#swaggermodule)

A Zend Framework module that allows the generation of Swagger compliant resource files and is based on [swagger-php](https://github.com/zircote/swagger-php).

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

[](#installation)

The recommended way to install [`outeredge/swagger-module`](https://packagist.org/packages/outeredge/swagger-module) is through [composer](http://getcomposer.org/):

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

You can then enable this module in your `config/application.config.php` by adding `SwaggerModule` to the `modules` key:

```
// ...
    'modules' => array(
        // ...
        'SwaggerModule'
    ),
```

Configuration
-------------

[](#configuration)

Copy `config/module.swagger.global.php.dist` to your config/autoload folder and modify paths variable

Usage
-----

[](#usage)

See [swagger-php](https://github.com/zircote/swagger-php#readme) for library usage information.

```
$swagger = $this->getServiceLocator()->get('service.swagger');
echo $swagger->getResource('http://org.local/v1');
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~4 days

Total

3

Last Release

1949d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/945422?v=4)[codeguard](/maintainers/codeguard)[@codeguard](https://github.com/codeguard)

---

Top Contributors

[![davidwindell](https://avatars.githubusercontent.com/u/1720090?v=4)](https://github.com/davidwindell "davidwindell (31 commits)")[![xl32](https://avatars.githubusercontent.com/u/1729594?v=4)](https://github.com/xl32 "xl32 (9 commits)")[![bakura10](https://avatars.githubusercontent.com/u/1198915?v=4)](https://github.com/bakura10 "bakura10 (5 commits)")[![chaos0815](https://avatars.githubusercontent.com/u/915071?v=4)](https://github.com/chaos0815 "chaos0815 (1 commits)")[![alexdenvir](https://avatars.githubusercontent.com/u/1412074?v=4)](https://github.com/alexdenvir "alexdenvir (1 commits)")[![Trunst](https://avatars.githubusercontent.com/u/3854632?v=4)](https://github.com/Trunst "Trunst (1 commits)")[![Xerkus](https://avatars.githubusercontent.com/u/725842?v=4)](https://github.com/Xerkus "Xerkus (1 commits)")

---

Tags

apilaminasrestswaggeropenapi

### Embed Badge

![Health badge](/badges/codeit-swagger-module/health.svg)

```
[![Health](https://phpackages.com/badges/codeit-swagger-module/health.svg)](https://phpackages.com/packages/codeit-swagger-module)
```

###  Alternatives

[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k48.1M236](/packages/api-platform-core)[vyuldashev/laravel-openapi

Generate OpenAPI Specification for Laravel Applications

4571.2M](/packages/vyuldashev-laravel-openapi)[outeredge/swagger-module

Laminas Framework Module for Swagger resource file generation

23112.1k](/packages/outeredge-swagger-module)[api-platform/openapi

Models to build and serialize an OpenAPI specification.

353.3M48](/packages/api-platform-openapi)[api-platform/symfony

Symfony API Platform integration

323.2M67](/packages/api-platform-symfony)[api-platform/json-schema

Generate a JSON Schema from a PHP class

273.4M26](/packages/api-platform-json-schema)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
