PHP code example of printi / db-dump-file-anonymizer
1. Go to this page and download the library: Download printi/db-dump-file-anonymizer library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
printi / db-dump-file-anonymizer example snippets
$ mysqldump ... | php ./vendor/bin/anonymize-db-dump --stdin --o ./sample/dump.out.sql -f ./sample/modifications.json -l pt_BR