PHP code example of joonas1234 / laravel-anonymize-db
1. Go to this page and download the library: Download joonas1234/laravel-anonymize-db 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/ */
joonas1234 / laravel-anonymize-db example snippets
return [
'tables' => [
'cars' => [
'register_number' => 'vehicleRegistration',
'owner_name' => 'name',
],
],
'fakerProviders' => [
'Fakecar'
]
]
return [
'tables' => [
'users' => [
'email' => 'email|unique',
],
],
]