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

13.0.0 2025-04-08 13:20 UTC

This package is auto-updated.

Last update: 2025-04-08 13:23:59 UTC


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',
                    ],
                ]
            ],
        ]
    ],
];