libeo / lbo_anonymizer
Allow anonymisation of data with a command line
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:typo3-cms-extension
Requires
- fakerphp/faker: ^1.24
- typo3/cms-core: ^13.0
README
Use the php faker library to anonymize data in TYPO3 database.
Usage
typo3cms lbo-anonymizer:anonymize
Example of configuration
$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['lbo_anonymizer'] = [ 'DB' => [ 'Default' => [ 'sys_history' => [ 'operation' => 'truncate', ], 'fe_users' => [ 'operation' => 'update', 'fields' => [ 'first_name' => [ 'fakerFunction' => 'firstName', ], 'last_name' => [ 'fakerFunction' => 'lastName', ], 'email' => [ 'fakerFunction' => 'email', ], 'lastlogin' => [ 'fakerFunction' => 'unixTime', ], 'address' => [ 'fakerFunction' => 'address', ], 'telephone' => [ 'fakerFunction' => 'phoneNumber', ], 'username' => [ 'fakerFunction' => 'userName', ], ] ], ] ], ];