PHPackages                             phpro/mage2-module-api-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. phpro/mage2-module-api-logger

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

phpro/mage2-module-api-logger
=============================

Extension on API logging

4.0.0(10mo ago)252.8k↓20.7%4[2 issues](https://github.com/phpro/phpro-mage2-module-api-logger/issues)MITPHPPHP ^8.0CI passing

Since Jun 26Pushed 10mo ago2 watchersCompare

[ Source](https://github.com/phpro/phpro-mage2-module-api-logger)[ Packagist](https://packagist.org/packages/phpro/mage2-module-api-logger)[ RSS](/packages/phpro-mage2-module-api-logger/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (4)Versions (9)Used By (0)

[![](https://github.com/phpro/phpro-mage2-module-api-logger/workflows/.github/workflows/grumphp.yml/badge.svg)](https://github.com/phpro/phpro-mage2-module-api-logger/workflows/.github/workflows/grumphp.yml/badge.svg)

Extension on Magento 2 API logger
=================================

[](#extension-on-magento-2-api-logger)

This module extends the default Magento 2 Rest API logger and will log all requests. Both request and response will be logged. Useful for applications or services consuming the Magento Rest API.

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

[](#installation)

`composer require phpro/mage2-module-api-logger`

How to use
----------

[](#how-to-use)

By default, both requests and response will be written to `api_logger.log`The logging can be disabled by changing the log level.

### Configuration

[](#configuration)

We can configure the log file under the store settings according the following path: `system/api_log/log_level`

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~262 days

Recently: every ~315 days

Total

8

Last Release

312d ago

Major Versions

2.0.0 → 3.0.02020-09-25

3.1.0 → 4.0.02025-07-10

PHP version history (4 changes)2.0.0PHP ^7.0

3.0.2PHP ^7.1

3.0.4PHP ^7.1|^8.0

4.0.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/cab1b0de06c75fec5317beded0c2978f3e9e560e6830c1d9048f3e37b3287342?d=identicon)[phpro](/maintainers/phpro)

---

Top Contributors

[![stefliekens](https://avatars.githubusercontent.com/u/3245491?v=4)](https://github.com/stefliekens "stefliekens (8 commits)")[![kimb0na](https://avatars.githubusercontent.com/u/170505996?v=4)](https://github.com/kimb0na "kimb0na (5 commits)")[![lykciv](https://avatars.githubusercontent.com/u/3390098?v=4)](https://github.com/lykciv "lykciv (4 commits)")[![jokeputs](https://avatars.githubusercontent.com/u/5744027?v=4)](https://github.com/jokeputs "jokeputs (3 commits)")[![vrielsa](https://avatars.githubusercontent.com/u/33426821?v=4)](https://github.com/vrielsa "vrielsa (2 commits)")[![MaximGanses](https://avatars.githubusercontent.com/u/58943509?v=4)](https://github.com/MaximGanses "MaximGanses (1 commits)")[![SandraKot](https://avatars.githubusercontent.com/u/109798869?v=4)](https://github.com/SandraKot "SandraKot (1 commits)")

### Embed Badge

![Health badge](/badges/phpro-mage2-module-api-logger/health.svg)

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

###  Alternatives

[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1851.5M3](/packages/justbetter-magento2-sentry)[graycore/magento2-stdlogging

A Magento 2 module that changes all logging handlers to stdout

2382.6k](/packages/graycore-magento2-stdlogging)[itonomy/module-admin-activity

A continuation of The Admin Activity extension by KiwiCommerce. This extension makes it easy to track all admin activity and revert the modification.

1270.4k](/packages/itonomy-module-admin-activity)[ampersand/magento2-log-correlation-id

Magento 2 correlation id for requests and logs

279.9k](/packages/ampersand-magento2-log-correlation-id)[mage-os/module-admin-activity-log

The Admin Activity extension makes it easy to track all admin activity with comprehensive audit logging.

261.4k](/packages/mage-os-module-admin-activity-log)[graycore/magento2-graphql-logger

106.6k](/packages/graycore-magento2-graphql-logger)

PHPackages © 2026

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