PHPackages                             schumacherfm/mage2-mocks - 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. schumacherfm/mage2-mocks

AbandonedArchivedMagento2-module

schumacherfm/mage2-mocks
========================

 This Magento2 module provides mock classes when you have physically removed unneeded modules with dependencies.

0.0.6(6y ago)1935.5k↓47.4%4[1 PRs](https://github.com/SchumacherFM/Magento2-Mocks/pulls)OSL-3.0PHP

Since Jun 29Pushed 6y ago3 watchersCompare

[ Source](https://github.com/SchumacherFM/Magento2-Mocks)[ Packagist](https://packagist.org/packages/schumacherfm/mage2-mocks)[ RSS](/packages/schumacherfm-mage2-mocks/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

Magento2-Mocks
==============

[](#magento2-mocks)

This Magento2 module provides mock classes when you have physically removed unneeded modules with dependencies.

Magento2-Mocks does not work out of the box. You must adjust your root composer.json file.

For a full How-to, please read my blog post:

*Warning:* If you install this module, it automatically assumes that you want to remove `Magento\Msrp` module. See files `Mocks/etc/di.xml` and `Mocks/Setup/InstallData.php`.

Installation via Composer
-------------------------

[](#installation-via-composer)

Add the following to the require section of your Magento 2 `composer.json` file

```
"schumacherfm/mage2-mocks": "X.Y.Z"

```

additionally add the following in the repository section

```
    "repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/SchumacherFM/Magento2-Mocks.git"
    }
]

```

run `composer update`

add the following to `app/etc/config.php`

```
'SchumacherFM_Mocks'=>1

```

The module will be later available on .

Compatibility
-------------

[](#compatibility)

- Magento &gt;= 2
- php &gt;= 7.0.0

Support / Contribution
----------------------

[](#support--contribution)

Report a bug using the issue tracker or send us a pull request.

Instead of forking I can add you as a Collaborator IF you really intend to develop on this module. Just ask :-)

For versioning have a look at [Semantic Versioning 2.0.0](http://semver.org/)

History
-------

[](#history)

#### 0.0.1

[](#001)

- Initial release

License
-------

[](#license)

OSL-3.0, AFL-3.0

Author
------

[](#author)

[Cyrill Schumacher](https://cyrillschumacher.com)

[My pgp public key](https://www.schumacher.fm/cyrill.asc)

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~113 days

Total

4

Last Release

2539d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/372027?v=4)[Cyrill Schumacher](/maintainers/SchumacherFM)[@SchumacherFM](https://github.com/SchumacherFM)

---

Top Contributors

[![SchumacherFM](https://avatars.githubusercontent.com/u/372027?v=4)](https://github.com/SchumacherFM "SchumacherFM (6 commits)")

---

Tags

magentomagento2magento2-modulephp7

### Embed Badge

![Health badge](/badges/schumacherfm-mage2-mocks/health.svg)

```
[![Health](https://phpackages.com/badges/schumacherfm-mage2-mocks/health.svg)](https://phpackages.com/packages/schumacherfm-mage2-mocks)
```

###  Alternatives

[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.2M1](/packages/fastly-magento2)[mage-os/module-automatic-translation

Automatic AI content translation for Mage-OS.

277.1k](/packages/mage-os-module-automatic-translation)[zepgram/module-rest

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

1326.2k](/packages/zepgram-module-rest)[graycore/magento2-graphql-introspection-cache

1015.2k](/packages/graycore-magento2-graphql-introspection-cache)[mage-os/mageos-common-async-events

Send REST requests to external endpoints asynchronously. This module implements the most common events like order creation and customer change.

147.7k2](/packages/mage-os-mageos-common-async-events)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

126.8k](/packages/mage-os-module-inventory-reservations-grid)

PHPackages © 2026

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