# redchamps/module-clean-admin-menu

> It will merge all third party extensions menu items to single menu item named 'Extensions'.

`composer require redchamps/module-clean-admin-menu`

Canonical URL: https://packagento.com/redchamps/module-clean-admin-menu

## At a glance

- **Vendor**: redchamps (https://packagento.com/redchamps.md)
- **Latest version**: 1.1.7 — released 2025-04-16
- **Pricing**: Free
- **Package type**: Magento 2 module
- **Status**: active, accepting new buyers

## Installation

Packagento is licence-gated, so even free packages need a licence on a project before Composer can resolve them.

1. **Sign in or create an account** at https://packagento.com/customer/account/.

2. **Add the package to your account.** Open https://packagento.com/redchamps/module-clean-admin-menu and complete the free checkout. A licence is minted automatically.

3. **Create or pick a project, then activate the licence on it.**
   - Projects represent the Magento installs you deploy to. Manage them at https://packagento.com/projects/.
   - Activate the new licence on the project you'll deploy this package to. Activation is what generates the Composer credentials scoped to that project.

4. **Add the project credentials to your Magento codebase.**

   Grab the project's public + private key from https://packagento.com/projects/ (open the project, then its Credentials tab), and add them to `auth.json`:

   ```json
   {
     "http-basic": {
       "packagento.com": {
         "username": "ppk_live_...",
         "password": "psk_live_..."
       }
     }
   }
   ```

   Add the Packagento Composer repository to `composer.json`:

   ```json
   {
     "repositories": [
       { "type": "composer", "url": "https://packagento.com" }
     ]
   }
   ```

5. **Install and apply.**

   ```bash
   composer require redchamps/module-clean-admin-menu:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

It will merge all third party extensions menu items to single menu item named 'Extensions'.

## README

[![Latest Stable Version](https://img.shields.io/packagist/v/redchamps/module-clean-admin-menu.svg?style=flat-square)](https://packagist.org/packages/redchamps/module-clean-admin-menu)
[![License: MIT](https://img.shields.io/github/license/redchamps/clean-admin-menu.svg?style=flat-square)](./LICENSE)
[![Packagist](https://img.shields.io/packagist/dt/redchamps/module-clean-admin-menu.svg?style=flat-square)](https://packagist.org/packages/redchamps/module-clean-admin-menu/stats)
[![Packagist](https://img.shields.io/packagist/dm/redchamps/module-clean-menu.svg?style=flat-square)](https://packagist.org/packages/redchamps/module-clean-admin-menu/stats)
<img src="https://img.shields.io/badge/magento-2.4.0%E2%80%932.4.8+-brightgreen.svg?logo=magento&longCache=true&style=flat-square" alt="Supported Magento Versions" />

### Overview

Clean Admin Menu is a Magento 2 extension that organizes and simplifies your admin panel by consolidating third-party extension menus. It follows Magento's best practices for admin menu organization by:

1. Merging all third-party extension menu items into a single "**Extensions**" menu item in the backend's primary navigation
2. Consolidating third-party extension configuration tabs under `Stores > Configuration` into a single "**Extensions**" tab
3. Placing the consolidated "Extensions" tab after native Magento tabs

This organization aligns with Magento's official [Admin Best Practices](https://developer.adobe.com/commerce/php/best-practices/admin/placement-and-design/#feature-extensions) for feature-level extensions.

### Features

- Consolidates all third-party extension menus into a single "Extensions" section
- Organizes extension configuration settings under a unified tab
- Follows Magento's recommended admin menu structure
- Customizable menu organization through admin configuration
- Compatible with Magento 2.4.0 through 2.4.8+

### Installation

Install via Composer:

```bash
composer require redchamps/module-clean-admin-menu
```

After installation:
1. Run `bin/magento setup:upgrade`
2. Run `bin/magento setup:di:compile`
3. Run `bin/magento cache:clean`

### Configuration

Access the extension settings at:
> Stores > Configuration > Extensions > RedChamps > Clean Admin Menu

#### Available Settings:
- Menu organization preferences
- Configuration tab placement
- Developer tools for custom menu ID management

### Visual Examples

#### Main Navigation
![Primary Navigation](https://raw.githubusercontent.com/redchamps/repo-images/master/after-primary-menu.png)

#### Extensions Configuration
![System Config](https://raw.githubusercontent.com/redchamps/repo-images/master/after-system-config.png)

#### Before and After Comparison
![Before and after comparison](https://raw.githubusercontent.com/redchamps/repo-images/master/before-after.gif)

### Troubleshooting

If any extension menu item is not automatically moved under the "Extensions" menu:

1. Navigate to: Stores > Configuration > Extensions > RedChamps > Clean Admin Menu > Developer Tools
2. Find the menu ID of the extension that needs to be moved
3. Add the menu ID to the "Move Menu ID's" setting

### Requirements

- Magento 2.4.0 or higher
- PHP 7.4 or higher

### Support

- [GitHub Issues](https://github.com/redchamps/clean-admin-menu/issues/)
- [Documentation](https://redchamps.com/clean-admin-menu-magento-2-extension.html)
- [Contact Support](mailto:hello@redchamps.com)

### Authors

- **RedChamps** [Maintainer] [![Twitter Follow](https://img.shields.io/twitter/follow/_redChamps.svg?style=social)](https://twitter.com/_redChamps)
- **Ravinder** [Maintainer] [![Twitter Follow](https://img.shields.io/twitter/follow/_iAmRav.svg?style=social)](https://twitter.com/_iAmRav)
- **Thomas Klein** [Contributor] [![Twitter Follow](https://img.shields.io/twitter/follow/lead_dave.svg?style=social)](https://twitter.com/lead_dave)
- **Prince Antil** [Contributor] [![Twitter Follow](https://img.shields.io/twitter/follow/prince_antil.svg?style=social)](https://twitter.com/prince_antil)

### License

This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.

### More Extensions

Visit our [store](https://redchamps.com) for more free and paid Magento 2 extensions.

## Recent Versions

| Version | Released |
|---|---|
| 1.1.7 | 2025-04-16 |
| 1.1.6 | 2025-04-12 |
| 1.1.5 | 2024-02-27 |
| 1.1.4 | 2023-06-14 |
| 1.1.3 | 2021-10-05 |
| 1.1.2 | 2021-09-24 |
| 1.1.1 | 2021-07-20 |
| 1.1.0 | 2020-12-18 |
| 1.0.9 | 2020-10-22 |
| 1.0.8 | 2020-10-07 |

Showing 10 of 18 versions. Full release history on https://packagento.com/redchamps/module-clean-admin-menu.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| magento/framework | ^100.0\|\|^101.0\|\|^102.0\|\|^103.0 |
| magento/module-backend | ^100.0\|\|^101.0\|\|^102.0 |
| magento/module-config | ^100.0\|\|^101.0 |

## Quality

Latest release (1.1.7) fails the Packagento QA pipeline. Verdicts below are per-cell (Magento line × PHP version) for the matrixed tools, and run-once for the static / security tiers.


### Compatibility

Each Magento line is installed on its supported PHP versions, then the module is built (DI compile + static-content deploy). Cells show passed / failed / untested; staircase gaps render as `–`.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | Pass | Pass | – | – |
| 2.4.8 | – | Pass | Pass | – |
| 2.4.9 | – | – | Pass | Pass |


### Code Quality

Advisory checks against the module's source. Never affect the Compatibility verdict — 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 | Fail | 28 | 17 errors, 11 warnings (ruleset: Magento2) — 9 auto-fixable with phpcbf |
| PHPMD | Warning | 2 | 2 rule violations (UnusedFormalParameter:2) |
| Cpd | Pass | 0 |  |
| Composer validate | Pass | 0 |  |

#### PHPStan

Type-checks the module against a real Magento install. Re-runs per Magento + PHP version because resolvable symbols differ between releases.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | 4 | 4 | – | – |
| 2.4.8 | – | 4 | 4 | – |
| 2.4.9 | – | – | 4 | 4 |


### Tests

Unit and integration suites run per Magento + PHP cell. Test failures speak to the module's behaviour, not its compatibility with a line, so they're reported here separately.

#### 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

Dependency-advisory audit (composer audit) plus a source malware scan. A malware detection fails the version outright.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| Composer audit | Pass | 0 |  |
| Malware scan | Pass | 0 |  |

## Licence and pricing

Free. A licence is still minted on checkout and bound to your project for Composer access — no payment step.

Refundable within 14 days of first purchase via https://packagento.com/account/refunds/.

## Install via Claude Code or any MCP client

The Packagento MCP server can run the licence + project + Composer steps above in one tool call:

```
purchase_and_install_packages(
  composer_names=["redchamps/module-clean-admin-menu"],
  project_id="proj_xxx"
)
```

This handles cart, checkout, licence minting, project activation, and writes auth.json credentials. Connect a client with `claude mcp add packagento https://mcp.packagento.com`. Full setup at https://packagento.com/docs/mcp-setup.

## Vendor

redchamps is a Magento 2 vendor on Packagento. See https://packagento.com/redchamps.md for their full catalogue.

