PHPackages                             opengento/module-webapi-logger - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. opengento/module-webapi-logger

ActiveMagento2-module[Logging &amp; Monitoring](/categories/logging)

opengento/module-webapi-logger
==============================

This module allows you to analyze all the webapi rest done call toward your Magento.

5.0.0(3mo ago)1014.9k↓44.5%3MITPHPPHP ^8.1

Since Oct 30Pushed 3mo ago16 watchersCompare

[ Source](https://github.com/opengento/magento2-webapi-logger)[ Packagist](https://packagist.org/packages/opengento/module-webapi-logger)[ Docs](https://github.com/opengento/magento2-module)[ Fund](https://www.helloasso.com/associations/opengento/formulaires/1)[ RSS](/packages/opengento-module-webapi-logger/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (12)Used By (0)

Webapi Logger for Magento 2
===========================

[](#webapi-logger-for-magento-2)

[![Latest Stable Version](https://camo.githubusercontent.com/e5281bae3ce6ab2cf1be146e4e9cd200a9f3c39a6296943a7de73eb8c1e71868/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f70656e67656e746f2f6d6f64756c652d7765626170692d6c6f676765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/opengento/module-webapi-logger)[![License: MIT](https://camo.githubusercontent.com/ab6b5a14a39f3dbadaea9116cd2625ecb4336b932f9085997377df8cd30dd377/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6f70656e67656e746f2f6d6167656e746f322d7765626170692d6c6f676765722e7376673f7374796c653d666c61742d737175617265)](./LICENSE)[![Packagist](https://camo.githubusercontent.com/74b5eee5d7f98510e012791316231863784064a17411560f7f87749edeff89d5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f70656e67656e746f2f6d6f64756c652d7765626170692d6c6f676765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/opengento/module-webapi-logger/stats)[![Packagist](https://camo.githubusercontent.com/eca270fd35cc5a04e59879a514fa9e387fded423313b6a5ace1ca89f322a5f93/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6f70656e67656e746f2f6d6f64756c652d7765626170692d6c6f676765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/opengento/module-webapi-logger/stats)

This module allows you to analyze all the webapi rest done call toward your Magento.

- [Fork](#fork)
- [Setup](#setup)
    - [Composer installation](#composer-installation)
    - [Setup the module](#setup-the-module)
- [Features](#features)
- [Settings](#settings)
- [Documentation](#documentation)
- [Support](#support)
- [Authors](#authors)
- [License](#license)

Fork
----

[](#fork)

This is a forked version from the following repository: .
It also contains changes from the following fork: .

As the original repository does not seems to be maintained anymore, we offer an improved and optimized version here.

Setup
-----

[](#setup)

Magento 2 Open Source or Commerce edition is required.

### Composer installation

[](#composer-installation)

Run the following composer command:

```
composer require opengento/module-webapi-logger

```

### Setup the module

[](#setup-the-module)

Run the following magento command:

```
bin/magento setup:upgrade

```

**If you are in production mode, do not forget to recompile and redeploy the static resources.**

Features
--------

[](#features)

Settings
--------

[](#settings)

The configuration for this module is available in `Stores > Configuration > System > Webapi Logs`.

[![](https://github.com/opengento/magento2-webapi-logger/raw/main/screenshots/screen1.png)](https://github.com/opengento/magento2-webapi-logger/blob/main/screenshots/screen1.png)

Documentation
-------------

[](#documentation)

Go to `Reports > Webapi Logs > Show Logs`

[![](https://github.com/opengento/magento2-webapi-logger/raw/main/screenshots/screen2.png)](https://github.com/opengento/magento2-webapi-logger/blob/main/screenshots/screen2.png)

You can select an entry to see more details about the request and the response

[![](https://github.com/opengento/magento2-webapi-logger/raw/main/screenshots/screen3.png)](https://github.com/opengento/magento2-webapi-logger/blob/main/screenshots/screen3.png)

If you disable the Secret Mode this module will logs everything passes in the webapi calls (tokens and passwords too!), then remember to clean logs by clicking the `Delete All Logs` button:

[![](https://github.com/opengento/magento2-webapi-logger/raw/main/screenshots/screen4.png)](https://github.com/opengento/magento2-webapi-logger/blob/main/screenshots/screen4.png)

It is now possible to log the webapi request and response to filesystem or any handler that follow the PSR Log.
You can register your handlers to `Opengento\WebapiLogger\Logger`. The module use the `debug` level to log the request and response.

Support
-------

[](#support)

Raise a new [request](https://github.com/opengento/magento2-webapi-logger/issues) to the issue tracker.

Authors
-------

[](#authors)

- **GhostUnicorns** - *Original Work* - [www.ghostunicorns.com](https://www.ghostunicorns.com/)
- **Contributors** - *Contributor* - [![GitHub contributors](https://camo.githubusercontent.com/750fc9b70cb77d8e88572aafea7fae9c0b68dc2d9b48e1ca8283281259a9f456/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f6f70656e67656e746f2f6d6167656e746f322d7765626170692d6c6f676765722e7376673f7374796c653d666c61742d737175617265)](https://github.com/opengento/magento2-webapi-logger/graphs/contributors)
- **Opengento Community** - *Maintainer* - [![Twitter Follow](https://camo.githubusercontent.com/f582f22fdefea808310d5426ff86d748569ab584a65c28c30eb34b72a73ba802/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f6f70656e67656e746f2e7376673f7374796c653d736f6369616c)](https://twitter.com/opengento)

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](./LICENSE) details.

***That's all folks!***

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance82

Actively maintained with recent releases

Popularity34

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.7% 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 ~84 days

Recently: every ~143 days

Total

11

Last Release

91d ago

Major Versions

1.0.0 → 2.0.02023-11-23

2.0.2 → 3.0.02024-02-26

3.0.1 → 4.0.02024-07-22

4.2.0 → 5.0.02026-02-16

PHP version history (2 changes)1.0.0PHP ^8.0

4.0.0PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

[![thomas-kl1](https://avatars.githubusercontent.com/u/20971693?v=4)](https://github.com/thomas-kl1 "thomas-kl1 (27 commits)")[![daniloargentiero](https://avatars.githubusercontent.com/u/3659574?v=4)](https://github.com/daniloargentiero "daniloargentiero (7 commits)")[![magentix](https://avatars.githubusercontent.com/u/346889?v=4)](https://github.com/magentix "magentix (7 commits)")[![ugoliniriccardo](https://avatars.githubusercontent.com/u/61108792?v=4)](https://github.com/ugoliniriccardo "ugoliniriccardo (4 commits)")[![artttj](https://avatars.githubusercontent.com/u/13865085?v=4)](https://github.com/artttj "artttj (1 commits)")

---

Tags

loggermagentomagento-2magento-extensionmagento-modulemagento2magento2-extensionmagento2-extension-freemagento2-modulewebapilogphpmagentologgerextensionmodulefreemagento2webapi

### Embed Badge

![Health badge](/badges/opengento-module-webapi-logger/health.svg)

```
[![Health](https://phpackages.com/badges/opengento-module-webapi-logger/health.svg)](https://phpackages.com/packages/opengento-module-webapi-logger)
```

###  Alternatives

[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1851.5M3](/packages/justbetter-magento2-sentry)[opengento/composer-registration-plugin

This plugin allows to compile the Magento2 components registrations on composer install/update.

111.6k](/packages/opengento-composer-registration-plugin)

PHPackages © 2026

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