PHPackages                             integer-net/magento2-enable-swagger - 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. integer-net/magento2-enable-swagger

ActiveMagento2-module[API Development](/categories/api)

integer-net/magento2-enable-swagger
===================================

Adds the option to re-enable Swagger via configuration. It's disabled in production mode sind Magento 2.4.4.

1.0.1(3y ago)9183.0k↓31.3%2MITPHPPHP ~7.1||~7.2||~7.3||~7.4||~8.1

Since May 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/integer-net/magento2-enable-swagger)[ Packagist](https://packagist.org/packages/integer-net/magento2-enable-swagger)[ RSS](/packages/integer-net-magento2-enable-swagger/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (2)Dependencies (8)Versions (3)Used By (0)

IntegerNet\_EnableSwagger Magento Module
========================================

[](#integernet_enableswagger-magento-module)

[![Latest Version on Packagist](https://camo.githubusercontent.com/796c43e19fabf76d271e2f77b529f471b134e78960c3ffebeaf7fea5456bace3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696e74656765722d6e65742f6d6167656e746f322d656e61626c652d737761676765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/integer-net/magento2-enable-swagger)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

---

Adds the option to re-enable Swagger via configuration. It's disabled in production mode since Magento 2.4.4.

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

[](#installation)

1. Install it into your Magento 2 project with composer:

    ```
    composer require integer-net/magento2-enable-swagger

    ```
2. Enable module

    ```
    bin/magento setup:upgrade

    ```

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

[](#configuration)

Enable swagger for your environment:

```
bin/magento config:set --lock-env dev/swagger/active 1

```

We recommend using the `--lock-env` switch so this configuration doesn't get lost when importing a database dump.

We recommend to not enable Swagger if there are no other access restrictions in place. These can be:

- Required VPN
- Basic Auth
- Access restricted to predefined IPs

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Andreas von Studnitz](https://github.com/integer-net)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~115 days

Total

2

Last Release

1387d ago

PHP version history (2 changes)1.0.0PHP ~7.1||~7.2||~7.3||~7.4

1.0.1PHP ~7.1||~7.2||~7.3||~7.4||~8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2962722?v=4)[integer\_net GmbH](/maintainers/integer-net)[@integer-net](https://github.com/integer-net)

---

Top Contributors

[![avstudnitz](https://avatars.githubusercontent.com/u/662059?v=4)](https://github.com/avstudnitz "avstudnitz (4 commits)")[![sebastian-ehrling](https://avatars.githubusercontent.com/u/20629208?v=4)](https://github.com/sebastian-ehrling "sebastian-ehrling (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/integer-net-magento2-enable-swagger/health.svg)

```
[![Health](https://phpackages.com/badges/integer-net-magento2-enable-swagger/health.svg)](https://phpackages.com/packages/integer-net-magento2-enable-swagger)
```

###  Alternatives

[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8064.7M49](/packages/smile-elasticsuite)[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[graycore/magento2-cors

A Magento 2 module that enables CORS on the GraphQL and REST Apis

102597.6k](/packages/graycore-magento2-cors)[magmodules/magento2-channable

Channable integration for Magento 2

311.5M](/packages/magmodules-magento2-channable)[elgentos/module-prismicio

Magento 2 - Prismic.io integration

39119.0k4](/packages/elgentos-module-prismicio)[zepgram/module-rest

Technical module to industrialize API REST call with dependency injection pattern using Guzzle library

1328.7k](/packages/zepgram-module-rest)

PHPackages © 2026

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