PHPackages                             egio/magento2-module-attributeimport - 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. egio/magento2-module-attributeimport

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

egio/magento2-module-attributeimport
====================================

1.0.0(1y ago)161MITPHPPHP &gt;=8.1

Since Mar 2Pushed 1y ago2 watchersCompare

[ Source](https://github.com/HamzaHannad/Magento2-AttributeImport)[ Packagist](https://packagist.org/packages/egio/magento2-module-attributeimport)[ RSS](/packages/egio-magento2-module-attributeimport/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Attribute Import Module for Magento 2
=====================================

[](#attribute-import-module-for-magento-2)

Overview
--------

[](#overview)

The Attribute Import module for Magento 2 provides an efficient way to import product attribute options using CSV files.

Features
--------

[](#features)

- Import attribute options from CSV files
- Support for multilingual attribute options (store views)
- Support for swatch attributes (text and visual swatches)
- Comprehensive validation of import data before processing
- Detailed logging of import processes
- Ability to set default attribute options

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

[](#installation)

### Via Composer

[](#via-composer)

1. Run the following commands in your Magento root directory: ```
    composer require egio/magento2-module-attributeimport
    bin/magento module:enable Egio_AttributeImport
    bin/magento setup:upgrade
    ```

### Manual Installation

[](#manual-installation)

1. Create the directory: `app/code/Egio/AttributeImport`
2. Download and extract the module contents into the directory
3. Run the following commands: ```
    bin/magento module:enable Egio_AttributeImport
    bin/magento setup:upgrade
    ```

Usage
-----

[](#usage)

### CSV Format

[](#csv-format)

#### For Visual Swatch or Text Swatch Attributes:

[](#for-visual-swatch-or-text-swatch-attributes)

attribute\_codestore\_viewvalueswatchsort\_orderis\_defaultcoloradminRed\#FF0000101colorENRed\#FF0000colorFRRouge\#FF0000coloradminBlue\#0000FF200colorENBlue\#0000FFcolorFRBleu\#0000FF> **Note:**
>
> - For visual swatches: A hex color code (e.g., #FF0000) or an image URL
> - For text swatches: Any text value

#### For Dropdown Attributes:

[](#for-dropdown-attributes)

attribute\_codestore\_viewvaluesort\_orderis\_defaultsizeadminSmall100sizeENSmallsizeFRPetitsizeadminMedium201sizeENMediumsizeFRMoyen### CSV Column Descriptions:

[](#csv-column-descriptions)

ColumnDescriptionattribute\_codeThe internal code of the attribute being updatedstore\_view`admin` for default values, or store code for store-specific translationsvalueThe attribute option labelswatch(For swatch attributes only) Any text value or a color hex code/image pathsort\_orderDetermines the option's display orderis\_default`1` to set as the default option, `0` otherwise### Admin Interface

[](#admin-interface)

1. Navigate to **System &gt; Import &gt; Import Attributes**
2. Select the attribute you want to update
3. Upload your CSV file
4. Click "Check Data" to validate the file and preview the attribute options
5. If validation is successful, click "Import" to process the import

Logs
----

[](#logs)

Import logs are stored in `var/log/attribute_import.log` and include:

✅ Timestamp of each event
✅ Success and error messages
✅ Detailed validation issues

Requirements
------------

[](#requirements)

SoftwareVersionMagento2.4.6PHP8.1.27License
-------

[](#license)

This module is licensed under the [MIT License](https://opensource.org/licenses/MIT).

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance41

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

489d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/109672288?v=4)[Hamza Mirawi](/maintainers/hamza0x)[@Hamza0X](https://github.com/Hamza0X)

### Embed Badge

![Health badge](/badges/egio-magento2-module-attributeimport/health.svg)

```
[![Health](https://phpackages.com/badges/egio-magento2-module-attributeimport/health.svg)](https://phpackages.com/packages/egio-magento2-module-attributeimport)
```

###  Alternatives

[elgentos/regenerate-catalog-urls

Regenerate Catalog URL Rewrites (products, categories, cms pages)

2842.6M](/packages/elgentos-regenerate-catalog-urls)[nosto/module-nostotagging

Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.

27703.7k4](/packages/nosto-module-nostotagging)[tig/postnl-magento2

TIG Magento 2 PostNL extension

59570.5k5](/packages/tig-postnl-magento2)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)[zwernemann/module-withdrawal

Magento 2 EU Withdrawal Button Module - Adds a withdrawal/revocation button for orders in compliance with EU Directive (EU) 2023/2673

244.9k2](/packages/zwernemann-module-withdrawal)

PHPackages © 2026

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