PHPackages                             softcommerce/module-attribute-set-cleaner - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. softcommerce/module-attribute-set-cleaner

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

softcommerce/module-attribute-set-cleaner
=========================================

Cleans attribute set by removing un-used attributes in the given set.

1.0.2(2y ago)07[1 issues](https://github.com/softcommerceltd/magento-attribute-set-cleaner/issues)MITPHPPHP ~8.0.0||~8.1.0||~8.2.0

Since Mar 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/softcommerceltd/magento-attribute-set-cleaner)[ Packagist](https://packagist.org/packages/softcommerce/module-attribute-set-cleaner)[ RSS](/packages/softcommerce-module-attribute-set-cleaner/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Attribute Set Cleaner extension for Magento 2.
==============================================

[](#attribute-set-cleaner-extension-for-magento-2)

This module was designed to clean up eav attribute sets by removing unused attributes from the attribute group sets using CLI.

Removing unused attributes from attribute sets could be a daunting task as it requires much effort to find and identify the attributes which are not used in the given attribute set entity tables. The Attribute Set Cleaner was developed to solve this problem.

The module will search and remove the attributes, which are not used in the given entity tables \[catalog\_product\_entity\_int, catalog\_product\_entity\_varchar etc.\]. As an example, if an attribute with the code "color" is assigned to "Default" attribute set, and the attribute has no value in the given entity table \[catalog\_product\_entity\_int\], the attribute will be removed from the attribute group set.

Supported Entities
------------------

[](#supported-entities)

- Catalog product.

*We'll be adding support for other entities in the future.*

Compatibility
-------------

[](#compatibility)

- Magento &gt;= 2.4 CE || EE || ECE
- PHP ~7.4 || ~8.0 || ~8.1

Installation
------------

[](#installation)

Using composer

```
composer require softcommerce/module-attribute-set-cleaner

```

Post Installation
-----------------

[](#post-installation)

```
# Enable the module
bin/magento module:enable SoftCommerce_AttributeSetCleaner
```

In production mode:

```
# compile & generate static files
bin/magento deploy:mode:set production
```

In development mode:

```
bin/magento setup:di:compile

```

Usage
-----

[](#usage)

### Remove unused attributes

[](#remove-unused-attributes)

Command options:

```
bin/magento eavattributeset:clean [id|-i]

```

Example:

```
# Remove ALL unused attributes:
bin/magento eavattributeset:clean

# Remove attributes for particular attribute set, where -i stands for attribute set IDs:
bin/magento eavattributeset:clean -i 4,10
```

Support
-------

[](#support)

Soft Commerce Ltd

License
-------

[](#license)

Each source file included in this package is licensed under OSL 3.0.

[Open Software License (OSL 3.0)](https://opensource.org/licenses/osl-3.0.php). Please see `LICENSE.txt` for full details of the OSL 3.0 license.

Thanks for dropping by
----------------------

[](#thanks-for-dropping-by)

 [ ![Soft Commerce Ltd](https://camo.githubusercontent.com/05726a030bab5a49fa0520196d901e5ec9f4d8b9e43142e49e50f0cb0c47b0a4/68747470733a2f2f736f6674636f6d6d657263652e636f2e756b2f7075622f6d656469612f62616e6e65722f6c6f676f2e737667) ](https://softcommerce.co.uk)
 [https://softcommerce.io/](https://softcommerce.co.uk/)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~175 days

Total

3

Last Release

817d ago

PHP version history (2 changes)1.0.0PHP ~7.4.0||~8.0.0||~8.1.0

1.0.1PHP ~8.0.0||~8.1.0||~8.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/612c19aab21c48e9c7d11d11eab8863b9473743c6ab7335aeb5a1424129b46cc?d=identicon)[softcom](/maintainers/softcom)

---

Top Contributors

[![softcommerceltd](https://avatars.githubusercontent.com/u/6104757?v=4)](https://github.com/softcommerceltd "softcommerceltd (5 commits)")

### Embed Badge

![Health badge](/badges/softcommerce-module-attribute-set-cleaner/health.svg)

```
[![Health](https://phpackages.com/badges/softcommerce-module-attribute-set-cleaner/health.svg)](https://phpackages.com/packages/softcommerce-module-attribute-set-cleaner)
```

###  Alternatives

[yireo/magento2-googletagmanager2

Add Google Tag Manager to Magento

167930.4k5](/packages/yireo-magento2-googletagmanager2)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

69344.4k](/packages/run-as-root-magento2-prometheus-exporter)[faonni/module-smart-category

SmartCategory module is a base of Smart Categories functionality.

8289.3k3](/packages/faonni-module-smart-category)[trustpilot/module-reviews

The Trustpilot Review extension makes it simple and easy for merchants to collect reviews from their customers to power their marketing efforts, increase sales conversion, build their online reputation and draw business insights.

12886.7k](/packages/trustpilot-module-reviews)[graycore/magento2-graphql-introspection-cache

1015.2k](/packages/graycore-magento2-graphql-introspection-cache)[elgentos/magento2-structured-data

Implement structured data for Magento 2 webshops.

1444.7k](/packages/elgentos-magento2-structured-data)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
