Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/team23/magento-module-cleanup-eav

This module enables you to maintain and cleanup your EAV database in your Magento store.
https://github.com/team23/magento-module-cleanup-eav

Last synced: about 22 hours ago
JSON representation

This module enables you to maintain and cleanup your EAV database in your Magento store.

Awesome Lists containing this project

README

        

# TEAM23 CleanupEav

The `Team23_CleanupEav` module enables you to maintain and cleanup your eav database.

## Installation

Installation is done via composer

```shell
composer require team23/module-cleanup-eav
```

Now register the module with `bin/magento setup:upgrade`.

## Configuration

Some core paths are excluded from being cleaned up in database. You can add more for other modules too inside a `di.xml`
file.

```xml




amasty_base/system_value/first_module_run
amasty_base/system_value/last_update
amasty_base/system_value/remove_date


```

## Extensibility

Extension developers can interact with the `Team23_CleanupEav` module. For more information about the Magento extension
mechanism, see [Magento plug-ins](http://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).

[The Magento dependency injection mechanism](http://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html)
enables you to override the functionality of the `Team23_CleanupEav` module.

## CLI commands

- `eav:cleanup:media` Compares database and disk space of product images and cleans both of them.
- `eav:cleanup:config-path` Removes orphaned paths in database for core configuration table.
- `eav:cleanup:config-scope` Compare global and scope data for paths, remove the scope entry if identical.