Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Sanitize Placeholder enforces short, safe placeholders and generates realistic fake data afterdrush sql:sanitize (acting on fields Drush sanitized that match your rules). It fixes overlong/invalid usernames and replaces selected fields with deterministic, max-length-aware values. Ships with an extensible strategy system, an optional “extra” submodule for country-specific examples, and optional Faker support for locale-aware data.