Anonymizes Magento Customer and Order data
PHP Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

IntegerNet_Anonymizer

This module allows anonymizing customer data in a sensible way. It uses dummy data provided by Faker and maintains associations like customer address <=> order address.

Facts

Branch Build Status Code Quality
master Build Status (master) Scrutinizer Code Quality (master
development Build Status (development) Scrutinizer Code Quality (development

Usage

Run the anonymizer via command line:

cd shell
php anonymizer.php

To display progress in real time:

php anonymizer.php --progress

To only update the progress display every 100 entities:

php anonymizer.php --progress 100

If you have n98-magerun installed, you can also use this command:

n98-magerun db:anonymize

Be aware that the process will run very long if you have more than a few thousand orders. Consider deleting old sales data first.

asciicast

Requirements

Compatibility

  • Magento CE 1.7, 1.8, 1.9
  • Magento EE 1.12, 1.13, 1.14

Installation Instructions

  1. Install via composer: composer require integer-net/anonymizer

  2. Configure Magento-PSR-0-Autoloader to use the composer autoloader. Add this to the global node of your app/etc/local.xml:

     <composer_vendor_path><![CDATA[{{root_dir}}/vendor]]></composer_vendor_path>
    

Alternatively download the archive from the Github release page and extract it into your installation. It contains the Faker library and no additional configuration is required.

Support

If you have any issues with this extension, open an issue on GitHub.

Contribution

Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.

Developer

Fabian Schmengler, integer_net GmbH

Twitter: @fschmengler @integer_net

Licence

OSL - Open Software Licence 3.0

Copyright

© 2015 integer_net GmbH