lcbrq / magento2-mage
Mage class emulation in Magento2
Package info
github.com/lcbrq/magento2-LCB-Mage
Type:magento2-module
pkg:composer/lcbrq/magento2-mage
Requires
- php: >=5.5.0
- magento/framework: >=100.0.0
- magento/magento-composer-installer: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-09-08 01:26:06 UTC
README
The purpose of the plugin is to emulate Mage class allowing easier Magento 1 themes port into Magento 2.
Such pattern is obviously wrong as well object manager usage, but well... customers and their budget. Good for some pages preview anyway.
This module can be as well good opportunity for Magento 2 introduction for Magento 1 developers.
Sample usage in any phtml:
$product = Mage::getModel('catalog/product')->load(1);
echo $product->getName();
Remember, Magento is Satan! If you like the plugin concept you can buy me a beer through PayPal.