Free, required foundation for the entire Panth Infotech extension suite. Panth Core gives every Panth module a shared admin menu, a unified configuration section, Hyva and Luma theme detection, an admin notification system, and a module registry. Install it once and every Panth extension plugs in automatically.
Product page: kishansavaliya.com/magento-2-core.html
What is Panth Core? It is a free, required base module that every Panth Infotech extension depends on. It consolidates shared admin scaffolding, theme detection helpers, a notification system, and a module registry into one lightweight package.
What does it add to my store?
- A single Panth Infotech admin sidebar entry so all Panth modules appear in one place.
- A unified Stores > Configuration > Panth Extensions section for all Panth settings.
- Hyva and Luma theme detection so each Panth module loads the right template automatically.
- An admin notification system that fetches Panth release notices and shows them inside the admin panel.
- A module registry that lists every installed Panth extension on an overview page.
- A grid data-provider fix that patches a well-known Magento bug in developer mode.
Which themes are supported? Both Hyva (Alpine.js) and Luma. Theme detection is handled for you.
What does it need? Magento 2.4.4 to 2.4.8 and PHP 8.1 to 8.4. No other dependencies.
Is it free? Yes. Panth Core is completely free and will remain free forever.
Get a free quote for your project in 24 hours for custom modules, Hyva themes, performance work, M1 to M2 migrations, and Adobe Commerce Cloud.
|
Top Rated Plus on Upwork 100% Job Success β’ 10+ Years Magento Experience Adobe Certified β’ Hyva Specialist |
Magento Development Team Custom Modules β’ Theme Design β’ Migrations Performance β’ SEO β’ Adobe Commerce Cloud |
Visit our website: kishansavaliya.com Β |Β Get a quote: kishansavaliya.com/get-quote
- Who Is It For
- Key Features
- Compatibility
- Installation
- Configuration
- How It Works
- FAQ
- Support
- About Panth Infotech
- Quick Links
- Anyone installing a Panth Infotech extension. Composer pulls Core in automatically as a required dependency. You do not need to think about it.
- Merchants running multiple Panth modules who want a clean admin sidebar instead of one top-level entry per extension.
- Developers building on top of Panth modules who need a reliable Hyva/Luma detector or shared config helpers.
- Stores on both Hyva and Luma where the active theme changes per store view. Core detects the right theme at request time so every Panth module serves the correct template.
- Unified admin sidebar entry called "Panth Infotech". Every Panth extension adds its items under this one parent, so the sidebar stays clean regardless of how many extensions you install.
- Centralized configuration section at
Stores > Configuration > Panth Extensions. All Panth module settings appear under this one tab. - Core Settings with a master enable toggle, debug mode, and a caching toggle that are used across the whole suite.
Panth\Core\Helper\Themechecks three signals (module presence, theme path, parent theme chain) to reliably detect whether the active storefront is Hyva or Luma.- Handles edge cases like Hyva child themes, Luma child themes, and mixed installations where the Hyva module exists but a Luma theme is active.
- Result is cached per request to avoid repeated database lookups.
Panth\Core\ViewModel\ThemeConfiginjects theme tokens into frontend templates through layout XML.
- Fetches release notices from the Panth publisher feed and stores them in the
panth_core_notificationtable. - Per-admin display state tracked in the
panth_core_notification_displaytable, so each admin user sees a popup only a configured number of times before it stops appearing. - Popup and banner modes for richer notification formats with images, CTAs, and body HTML.
- Click reporter to track when admins follow notification links, used for deciding which notices are useful.
panth_modules.xmllists every installed Panth extension. Each module contributes its own entry through DI configuration.- Admin overview page under Panth Infotech shows all registered modules, their versions, and links to their settings.
- Grid data-provider fix patches the well-known Magento bug where
SearchResultvirtual types return null fromgetCustomAttributes()in developer mode and crash admin grids. Panth\Core\Api\ThemeBuildExecutorInterfaceis an optional contract for triggering theme rebuilds from admin. The default no-op implementation returns a friendly "module not installed" message whenPanth_ThemeCustomizeris absent.- Upload extension policy via
Panth\Core\Security\UploadExtensionPolicyenforces a hard deny-list (php, phtml, phar, sh, and other executable types) as a second gate on every Panth upload controller. - Cron jobs for fetching notifications, sending the heartbeat, and collecting weekly usage data.
- MEQP compliant with zero severity-10 violations.
- No third-party library dependencies - uses only Magento framework classes.
- Constructor DI only throughout the codebase.
- Translation ready using Magento's
__()function for all user-facing strings.
| Requirement | Versions Supported |
|---|---|
| Magento Open Source | 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8 |
| Adobe Commerce | 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8 |
| Adobe Commerce Cloud | 2.4.4 to 2.4.8 |
| PHP | 8.1.x, 8.2.x, 8.3.x, 8.4.x |
| Hyva Theme | 1.0+ (optional) |
| Luma Theme | Native support |
| Other Dependencies | None |
composer require mage2kishan/module-core
bin/magento module:enable Panth_Core
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush- Download the latest release from Packagist or from the product page.
- Extract the contents to
app/code/Panth/Core/in your Magento installation. - Run the commands above starting from
bin/magento module:enable.
bin/magento module:status Panth_Core
# Expected: Module is enabledAfter install, open:
Admin -> Stores -> Configuration -> Panth Extensions -> Core Settings
Go to Stores > Configuration > Panth Extensions > Core Settings.
| Setting | Group | Default | Description |
|---|---|---|---|
| Enable Panth Core | General Configuration | Yes | Master toggle. Disabling this bypasses all Panth Core hooks across the suite. |
| Debug Mode | General Configuration | No | Enables verbose logging for Panth Core operations. Turn off in production. |
| Enable Caching | General Configuration | Yes | Caches theme detection and module registry lookups for better performance. |
| Child Theme Validation | Child Theme Validation | (display) | Read-only panel showing the current theme status and validation checks for child theme setup. |
| Child Theme Setup Guide | Child Theme Setup Guide | (display) | Step-by-step instructions for creating a child theme of Panth/Infotech. |
| Share Usage Data | Usage Analytics | No | When enabled, shares your store URL, Magento version, PHP version, and list of active Panth modules with Panth Infotech. No customer data, orders, or personal information is collected. |
- When any Panth extension is installed, Composer also installs Core as a required dependency.
- Core registers the Panth Infotech admin sidebar entry and the Panth Extensions configuration tab, so all other modules have a home to attach their menu items and settings sections.
- On each frontend request,
Panth\Core\Helper\Themechecks whether the active store view is running Hyva or Luma and caches the result. Panth modules call this helper to decide which template to render. - A cron job runs periodically to fetch the Panth notification feed and store any new notices in
panth_core_notification. On admin login, relevant popups are shown based on the per-admin state tracked inpanth_core_notification_display. - Each Panth extension registers itself in
panth_modules.xmlthrough DI. The module registry reads this file to build the admin overview page. - The grid data-provider plugin runs silently to prevent null-pointer crashes in admin grids when Magento is in developer mode.
No. Panth Core is completely free and will remain free. It is the foundation that other Panth extensions require. Composer installs it automatically when you install any paid Panth extension.
Technically yes, but there is no practical reason to. Core only provides admin scaffolding and shared utilities. It has no standalone storefront features.
No. Core has no frontend output of its own. Theme detection and module registry lookups are cached per request, so the overhead is minimal.
No. Core only touches its own Panth\Core namespace, one admin sidebar entry, and one configuration tab. It does not modify any Magento core files or override third-party extension code.
Two tables. panth_core_notification stores notifications fetched from the Panth publisher feed. panth_core_notification_display tracks how many times each admin user has seen each notification so popups can stop appearing after a set number of views.
Only after removing every other Panth extension first. Composer will block the removal otherwise. Once all dependents are gone, run composer remove mage2kishan/module-core && bin/magento setup:upgrade.
Yes. The full source is on GitHub at github.com/mage2sk/module-core.
Yes. All settings respect Magento's standard scope hierarchy (default, website, store view). Theme detection runs per store view, so Hyva and Luma stores can coexist in the same Magento installation.
Yes. All user-facing strings use Magento's __() function, so a language pack or theme translation file can override them.
| Channel | Contact |
|---|---|
| Product Page | kishansavaliya.com/magento-2-core.html |
| kishansavaliyakb@gmail.com | |
| Website | kishansavaliya.com |
| +91 84012 70422 | |
| GitHub Issues | github.com/mage2sk/module-core/issues |
| Upwork (Top Rated Plus) | Hire Kishan Savaliya |
| Upwork Agency | Panth Infotech |
Response time: 1-2 business days.
Looking for custom Magento module development, Hyva theme work, store migrations, or performance tuning? Get a free quote in 24 hours:
Built and maintained by Kishan Savaliya (kishansavaliya.com), a Top Rated Plus Magento developer on Upwork with 10+ years of eCommerce experience.
Panth Infotech is a Magento 2 development agency that builds high quality, security focused extensions and themes for both Hyva and Luma storefronts. The extension suite covers SEO, performance, checkout, product presentation, customer engagement, and store management, with each module built to MEQP standards and tested across Magento 2.4.4 to 2.4.8.
Browse the full extension catalog on our Magento extensions page or on Packagist.
| Resource | Link |
|---|---|
| π Product Page | magento-2-core.html |
| π¦ Packagist | mage2kishan/module-core |
| π GitHub | mage2sk/module-core |
| π Website | kishansavaliya.com |
| π¬ Free Quote | kishansavaliya.com/get-quote |
| π¨βπ» Upwork (Top Rated Plus) | Hire Kishan Savaliya |
| π’ Upwork Agency | Panth Infotech |
| π§ Email | kishansavaliyakb@gmail.com |
| π± WhatsApp | +91 84012 70422 |
Ready to install the Panth Infotech extension suite?
SEO Keywords: magento 2 base module, panth core, magento 2 free module, magento 2 required dependency, panth infotech foundation, magento 2 shared library, magento 2 admin foundation, magento 2 hyva luma detection, magento 2 theme detection helper, magento 2 module registry, magento 2 admin notification system, magento 2 grid bug fix, magento 2 SearchResult fix, panth shared library, magento 2.4 base library, magento 2 extension dependency, magento 2 development agency, hire magento developer upwork, top rated plus magento freelancer, kishan savaliya magento, panth infotech magento, magento 2.4.8 module, php 8.4 magento module, hyva theme module, luma theme detection, magento 2 admin menu consolidation, mage2kishan, mage2sk, custom magento development, magento 2 hyva development, magento 2 extension suite, magento 2 upload extension policy, magento 2 child theme validation