mageme / module-core
mageme/module-core
Core foundation module for MageMe extensions providing license management, admin UI infrastructure, and shared utilities
MageMe Core for Magento 2
Foundation module for all MageMe extensions for Magento 2. Provides the shared infrastructure used across the MageMe product family: license activation, the admin module ecosystem panel, news feed integration, and shared utility libraries.
mageme/module-core is normally installed automatically as a dependency when you add any other MageMe extension. You rarely need to install it on its own.
What it provides
- License management — activate, deactivate, and verify MageMe extension licenses against
license.mageme.comfrom each module's admin configuration section. Status updates live on page load without blocking the admin UI. - Module ecosystem panel — admin block injected into every MageMe module's configuration page. Shows the product family overview, installed add-ons, available updates, license status, and quick links to Renew, Get Pro, or Buy.
- News feed — surfaces MageMe announcements in the Magento admin notifications inbox through Magento's standard
AdminNotificationinfrastructure. - Shared utilities — locale-aware date and time formatting, client IP detection through proxies, static asset content inlining, area detection helpers, and a self-sizing admin multiselect form field.
- Bundled JS libraries — SweetAlert2 and Tingle modal, shared by other MageMe modules' storefront UI to avoid duplication.
Requirements
- Magento 2.4.x (Open Source or Commerce)
- PHP 7.4, 8.0, 8.1, 8.2, 8.3, 8.4, or 8.5
- PHP
curl,intl, andjsonextensions
Installation
In most cases mageme/module-core is pulled in automatically as a dependency of another MageMe extension. To install it standalone:
composer require mageme/module-core
bin/magento setup:upgrade
bin/magento cache:flush
MageMe extensions that depend on this module
MageMe WebForms 3 — Magento 2 form builder with conditional fields, multi-step layouts, file uploads, approval workflows, and a full integration stack:
- Salesforce — create leads with campaign tracking
- HubSpot — sync contacts, companies, and tickets
- Zoho CRM & Desk — create leads and helpdesk tickets
- Freshdesk — support tickets with agent routing
- Zendesk — tickets with custom field types
- Klaviyo — profiles and email lists
- Mailchimp — audience subscriptions
- Zapier — connect forms to 7000+ apps
MageMe Hide Price — control catalog visibility. Hide prices and the Add to Cart button from specific customer groups or per-product, with optional replacements: a sign-in button, an info alert, or a Request a Price form that emails the admin and the customer.
MageMe EasyQuote — B2B request-a-quote workflow. Customers submit quote requests from the cart, admins respond with custom per-item pricing, volume tiers, custom shipping, and discounts. Full quote lifecycle, two-way messaging thread with attachments, PDF and CSV export, GraphQL and REST APIs.
MageMe EU Withdrawal — EU consumer right-of-withdrawal compliance. Adds the statutory "Withdraw from Contract" flow for B2C distance and off-premises contracts under Article 11a of Directive 2011/83/EU (as amended by Directive (EU) 2023/2673), effective 19 June 2026. Customers withdraw within the 14-day cooling-off period, with full audit trail, evidence capture, and admin approval workflow.
See the full catalog at mageme.com.
Custom Magento development
Need a feature an extension doesn't cover, or a bespoke Magento build? MageMe takes on custom extension development and integration work.
Support
- Documentation: docs.mageme.com
- Bug reports and feature requests: GitHub Issues
License
Governed by the MageMe End User License Agreement (mageme.com/license). Distributed free of charge as the shared foundation for MageMe extensions.
MageMe builds Magento 2 and Adobe Commerce extensions for B2B merchants — form building, quoting, catalog control, and EU compliance.
2.0.1
- Fix: stopped repeated license warnings from filling the system log
- Fix: license-activation admin notice now shows readable text instead of raw markup
- Fix: category selection fields in add-ons load correctly again
- Fix: admin license panel now respects the store's translations
- Fix: restored PHP 7.4 compatibility
- Other: loading indicator while the extensions panel loads
- Other: Marketplace coding-standard compliance, added tests, and internal cleanup
2.0.0
- New: redesigned and reworked license activation and information UI
- New: ecosystem block embedded in every MageMe config section — license activation plus version info for the module and its add-ons
- New: Renew and Get Pro shortcuts in the module ecosystem panel
- Other: removed legacy Information & Licenses admin page
Requires 7
| Package | Constraint |
|---|---|
| magento/framework | * |
| magento/module-admin-notification | * |
| magento/module-backend | * |
| magento/module-config | * |
| magento/module-store | * |
| php | ~7.4.0||~8.0.0||~8.1.0||~8.2.0||~8.3.0||~8.4.0||~8.5.0 |
| psr/log | * |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge — a phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Warning | 155 | 155 warnings (ruleset: Magento2) — 17 auto-fixable with phpcbf |
| PHPMD | Warning | 18 | 18 rule violations (MissingImport:4, CyclomaticComplexity:4, NPathComplexity:4, UnusedFormalParameter:3, ExcessiveParameterList:2) |
| Cpd | Warning | 1 | 1 duplicated chunk spanning 55 total lines (min-lines=5, min-tokens=70) |
| Composer validate | Info | 7 | valid; 7 advisory notes (composer validate --strict) |
PHPStan
Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases. Cell → details modal.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
More from mageme
View vendorZapier integration add-on for WebForms Pro 3
Zoho integration add-on for WebForms Pro 3
Freshdesk integration add-on for WebForms Pro 3
Mailchimp integration add-on for WebForms Pro 3
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.