mage-os / module-theme-adminhtml-switcher
mage-os/module-theme-adminhtml-switcher
Mage-OS Theme Adminhtml Switcher
Mage-OS Theme Adminhtml Switcher
Features
This module enables M137 Admin Theme for Mage-OS and allows admin users to select the active admin theme via configuration. This is a companion module to the mage-os/theme-adminhtml-m137
Installation
This module is included as part of Mage-OS M137 Admin Theme (mage-os/theme-adminhtml-m137) and is recommended to be installed via the theme package. Individual installation instructions are provided below, if needed:
composer require mage-os/module-theme-adminhtml-switcher
bin/magento module:enable MageOS_ThemeAdminhtmlSwitcher
bin/magento setup:upgrade
Contribution
Install the module and theme locally
git clone [email protected]:mage-os-lab/module-theme-adminhtml-switcher.git ./app/code/MageOS/ThemeAdminhtmlSwitcher/
git clone [email protected]:mage-os-lab/theme-adminhtml-m137.git ./app/design/adminhtml/MageOS/theme-adminhtml-m137/
Configuration
[image: Configuration Settings Stores Advanced Admin]
Stores > | Settings | Configuration > Advanced > Admin > Admin Design
Active Admin Theme: select the desired theme from those installed
Changelog
Please see CHANGELOG for more information on what has changed recently.
License
The MIT License (MIT). Please see License File for more information.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.
[Unreleased]
[1.2.1] - 2026-04-21
Changed
- PHP 8.4 and 8.5 compatibility: typed parameters and properties, explicit nullable types, typed class constants
composer.jsonnow declares PHP~8.2.0||~8.3.0||~8.4.0||~8.5.0
[1.2.0] - 2025-06-10
Added
- New system configuration option that allows selection of the active admin theme from those installed
Changed
- Theme selector plugin now reads from the new system configuration value
- Default config values (
etc/config.xml) now reference the new system configuration value
Removed
- Existing system configuration to enable/disable the Mage-OS admin theme
[1.1.1] - 2025-04-29
Changed
- Theme selector plugin now returns early if not in admin scope, including when using emulation
[1.1.0] - 2025-04-15
Changed
- Corrected composer package name in README.md
[1.0.0] - 2025-04-08
Added
- Configuration to Enable M137 Admin Theme
- Module Init
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 1.2.1 | stable | Pass | Magento 2.4.7-2.4.9 Details | 2026-05-01 02:30:12 |
| 1.2.0 | stable | Not tested | Not yet tested Details | 2025-06-10 14:45:34 |
| 1.1.1 | stable | Not tested | Not yet tested Details | 2025-04-29 15:19:55 |
| 1.1.0 | stable | Not tested | Not yet tested Details | 2025-04-15 15:47:57 |
| 1.1.0-rc2 | RC | Not tested | Not yet tested Details | 2025-04-10 07:46:49 |
| 1.1.0-rc3 | RC | Not tested | Not yet tested Details | 2025-04-10 07:46:49 |
| 1.0.0 | stable | Not tested | Not yet tested Details | 2025-04-09 20:01:46 |
Requires 4
| Package | Constraint |
|---|---|
| php | ~8.2.0||~8.3.0||~8.4.0||~8.5.0 |
| magento/framework | ^103.0 |
| magento/module-backend | ^102.0 |
| magento/module-config | ^101.0 |
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.
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 mage-os
View vendorGCP event sinks for mage-os/mageos-async-events
Combine the power of LLM and domain knowledge to improve admin experience though a chatbot UI.
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.