{"id":36970456,"url":"https://github.com/druidfi/drush-gdpr-dumper","last_synced_at":"2026-01-13T21:48:23.035Z","repository":{"id":44937564,"uuid":"378918303","full_name":"druidfi/drush-gdpr-dumper","owner":"druidfi","description":"A drop-in replacement for drush sql-dump that optionally sanitizes DB fields for better GDPR conformity.","archived":false,"fork":true,"pushed_at":"2025-04-15T05:41:05.000Z","size":58,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T06:26:11.423Z","etag":null,"topics":["drupal-10","drupal-9","drush","gdpr"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/druidfi/drush-gdpr-dumper","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"robiningelbrecht/drush-gdpr-dumper","license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/druidfi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-21T12:10:49.000Z","updated_at":"2025-04-15T05:40:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/druidfi/drush-gdpr-dumper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/druidfi/drush-gdpr-dumper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/druidfi%2Fdrush-gdpr-dumper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/druidfi%2Fdrush-gdpr-dumper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/druidfi%2Fdrush-gdpr-dumper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/druidfi%2Fdrush-gdpr-dumper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/druidfi","download_url":"https://codeload.github.com/druidfi/drush-gdpr-dumper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/druidfi%2Fdrush-gdpr-dumper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28401070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["drupal-10","drupal-9","drush","gdpr"],"created_at":"2026-01-13T21:48:22.223Z","updated_at":"2026-01-13T21:48:23.016Z","avatar_url":"https://github.com/druidfi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drush GDPR Dumper\n\nA drop-in replacement for drush sql-dump that optionally sanitizes DB fields for better GDPR conformity.\n\nIt is based on the [druidfi/gdpr-mysqldump](https://github.com/druidfi/gdpr-mysqldump) library, \nand can in principle dump any database that PDO supports. \n\n## Install\n\nRequire druidfi/gdpr-mysqldump with Composer:\n\n```console\ncomposer require druidfi/drush-gdpr-dumper\n```\n\nEnable the module in Drupal UI or with Drush:\n\n```console\ndrush en gdpr_dumper\n```\n\n## Drush\n\nIf you want to create a sql dump on live servers for local purposes (as a developer, themer, ...), \nyou should use following command:\n\n```console\ndrush sql-dump-gdpr \u003e dump.sql\n```\n\ninstead of \n\n```console\ndrush sql-dump \u003e dump.sql\n```\n\n`drush sql-dump-gdpr` will automatically strip all GDPR related data from the sql dump to help you \nbe GDPR compliant YO!\n\n## Configuration\n\nIn settings.php you can do the override configuration like this:\n\n```php\n$config['gdpr_dumper.settings']['gdpr_replacements'] = [\n  'users_field_data' =\u003e [ // Table\n    'name' =\u003e [ // Field\n      'formatter' =\u003e 'userName', // Faker formatter\n    ],\n  ],\n];\n```\n\nThis module can be configured by editing the `gdpr_dumper.settings.yml` [file](config/install/gdpr_dumper.settings.yml).\n\n[druidfi/gdpr-mysqldump](https://github.com/druidfi/gdpr-mysqldump) contains more info about \nthe **gdpr-expressions** and **gdpr-replacement** options.\n\n[Faker](https://fakerphp.github.io/) documentation lists all available formatters.\n\n## Events\n\nThe module dispatches two events:\n* `GdprDumperEvents::GDPR_EXPRESSIONS`\n* `GdprDumperEvents::GDPR_REPLACEMENTS`\n \nThis allows developers to alter the expressions and replacements through event subscribers on run-time\n\nHappy GDPR'ing!\n\n## Forked from\n\nThis tool is a fork if [robiningelbrecht/drush-gdpr-dumper](https://github.com/robiningelbrecht/drush-gdpr-dumper).\n\n## License\n\nThis component is under the GPL2 license. See the complete license in the LICENSE file.\n\n## Other information\n\nThis project can be found from the Packagist: https://packagist.org/packages/druidfi/drush-gdpr-dumper\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdruidfi%2Fdrush-gdpr-dumper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdruidfi%2Fdrush-gdpr-dumper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdruidfi%2Fdrush-gdpr-dumper/lists"}