PHPackages                             msp/apienhancer - 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. msp/apienhancer

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

msp/apienhancer
===============

1.0.3(7y ago)8265.5k29[5 issues](https://github.com/magespecialist/m2-MSP_APIEnhancer/issues)[3 PRs](https://github.com/magespecialist/m2-MSP_APIEnhancer/pulls)OSL 3.0PHPPHP ^7.0|^7.1

Since Jun 12Pushed 5y ago16 watchersCompare

[ Source](https://github.com/magespecialist/m2-MSP_APIEnhancer)[ Packagist](https://packagist.org/packages/msp/apienhancer)[ RSS](/packages/msp-apienhancer/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

MSP APIEnhancer
===============

[](#msp-apienhancer)

This module replaces **MSP\_APIBoost**.

### Install procedure

[](#install-procedure)

```
composer require msp/apienhancer
php bin/magento setup:upgrade

```

**NOTE**: If you are using Varnish see below

### Features

[](#features)

- Internal cache support
- Varnish external support (see below)
- Products and categories automatic invalidation
- Support for group based catalog rules

### Magento2 REST-API features enhancements:

[](#magento2-rest-api-features-enhancements)

- FIX: Catalog rules are not applied in REST-API

**Varnish users should read below**

Why you may need it?
--------------------

[](#why-you-may-need-it)

While using Magento 2 REST API for decoupled frontend (e.g.: a ReactJS or AngularJS frontends), you need to access catalog, search and products.

Every time you perform a REST API call, no matter if you have a FPC configured or not, Magento will **compute your request as it was the first one**.

With this simple module you will be able to cache **API REST requests** and get up to a 50x performance boost.

Important: For Varnish users
----------------------------

[](#important-for-varnish-users)

In order to correctly handle cache invalidation and contents variation you should apply small variations to your varnish VCL file.

Add the following code to your Varnish configuration file at the beginning of **vcl\_hash** section:

`hash_data(regsub(std.tolower(req.http.Authorization), "^bearer\s\x22(\w+?):\w+?\x22", "\1"));`

Implementation example:

```
import std
...
sub vcl_hash {
    hash_data(regsub(std.tolower(req.http.Authorization), "^bearer\s\x22(\w+?):\w+?\x22", "\1"));
    ...
}
...

```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity42

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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 ~156 days

Total

4

Last Release

2838d ago

PHP version history (2 changes)1.0.0PHP ~7.0.0

1.0.1PHP ^7.0|^7.1

### Community

Maintainers

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

---

Top Contributors

[![phoenix128](https://avatars.githubusercontent.com/u/10189093?v=4)](https://github.com/phoenix128 "phoenix128 (3 commits)")[![slackerzz](https://avatars.githubusercontent.com/u/3061752?v=4)](https://github.com/slackerzz "slackerzz (1 commits)")

### Embed Badge

![Health badge](/badges/msp-apienhancer/health.svg)

```
[![Health](https://phpackages.com/badges/msp-apienhancer/health.svg)](https://phpackages.com/packages/msp-apienhancer)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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