PHPackages                             memegento/module-mage - 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. memegento/module-mage

ActiveMagento2-module

memegento/module-mage
=====================

The Legend Returns

1.0.1(3y ago)13[1 issues](https://github.com/memegento/mage/issues)OSL-3.0PHPPHP &gt;=7.4

Since Aug 7Pushed 3y agoCompare

[ Source](https://github.com/memegento/mage)[ Packagist](https://packagist.org/packages/memegento/module-mage)[ RSS](/packages/memegento-module-mage/feed)WikiDiscussions main Synced 1mo ago

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

Memegento - Mage
================

[](#memegento---mage)

[![Buy Me A Coffee](https://camo.githubusercontent.com/9f44ce2dc3b3eecdd02598900866ffc518801df1932849703dae1e5ce5031070/68747470733a2f2f7777772e6275796d6561636f666665652e636f6d2f6173736574732f696d672f637573746f6d5f696d616765732f6f72616e67655f696d672e706e67)](https://www.buymeacoffee.com/memegento)

This module adds the legendary Mage class from Magento 1 to Magento 2. Now developers can write Magento 1-like code in Magento 2 or event port Magento 1 code to Magento 2 without any changes.

**Pull requests from the community are welcomed!**

Requirements
------------

[](#requirements)

- PHP 7.4+
- Magento 2 CE or EE installation

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

[](#installation)

```
composer require memegento/mage
```

Usage
-----

[](#usage)

Mage class provides some basic methods to interact with Magento 2 as if it were Magento 1.

```
$productModelLegacyWay = Mage::getModel('catalog/product');

$productModelNewWay = Mage::getModel(\Magento\Catalog\Model\Product::class);

$productUrl = Mage::getUrl('catalog/product/view', ['product_id' => $productId]);

Mage::log('Some message', ['context_field' => 'value'], Zend_Log::INFO);
Mage::throwException('Exception message');
```

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

[](#compatibility)

- 2.4.x Magento 2 Open Source or Commerce Edition

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

1364d ago

### Community

Maintainers

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

---

Top Contributors

[![memegento-dev](https://avatars.githubusercontent.com/u/110774840?v=4)](https://github.com/memegento-dev "memegento-dev (2 commits)")

---

Tags

magento 2magento 2 mageMage classmage nostalgiamagento nostalgia vibes

### Embed Badge

![Health badge](/badges/memegento-module-mage/health.svg)

```
[![Health](https://phpackages.com/badges/memegento-module-mage/health.svg)](https://phpackages.com/packages/memegento-module-mage)
```

###  Alternatives

[magepal/magento2-gmailsmtpapp

Magento 2 SMTP Extension - Configure Magento 2 to send all transactional email using Gmail, G Suite, Amazon SES, Office360, Mailgun, SendGrid, Mandrill or any other SMTP servers

3321.8M2](/packages/magepal-magento2-gmailsmtpapp)[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[magepal/magento2-googletagmanager

Google Tag Manager (GTM) for Magento 2 with Advance Data Layer

2671.5M4](/packages/magepal-magento2-googletagmanager)[yireo/magento2-webp2

Magento 2 module to add WebP support to the Magento frontend

2091.2M7](/packages/yireo-magento2-webp2)[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1851.5M3](/packages/justbetter-magento2-sentry)[tig/postnl-magento2

TIG Magento 2 PostNL extension

58544.2k4](/packages/tig-postnl-magento2)

PHPackages © 2026

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