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.
Branch | Build Status | Code Quality |
---|---|---|
master | ||
development |
- version: 2.0.0
- extension key: integer-net/anonymizer
- extension on GitHub
- direct download link
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.
- PHP >= 5.4
- Faker
- Magento-PSR-0-Autoloader
- Magento CE 1.7, 1.8, 1.9
- Magento EE 1.12, 1.13, 1.14
-
Install via composer:
composer require integer-net/anonymizer
-
Configure Magento-PSR-0-Autoloader to use the composer autoloader. Add this to the
global
node of yourapp/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.
If you have any issues with this extension, open an issue on GitHub.
Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.
Fabian Schmengler, integer_net GmbH
Twitter: @fschmengler @integer_net
OSL - Open Software Licence 3.0
© 2015 integer_net GmbH