PHPackages                             pantheon-quicksilver/sanitize-db - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. pantheon-quicksilver/sanitize-db

ActiveQuicksilver-script[Validation &amp; Sanitization](/categories/validation)

pantheon-quicksilver/sanitize-db
================================

Sanitize user data after cloning a database to non-production environments.

v1.0.6(4y ago)0157MITPHP

Since Jul 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/pantheon-quicksilver/sanitize-db)[ Packagist](https://packagist.org/packages/pantheon-quicksilver/sanitize-db)[ Docs](https://github.com/pantheon-quicksilver/sanitize-db)[ RSS](/packages/pantheon-quicksilver-sanitize-db/feed)WikiDiscussions main Synced today

READMEChangelog (3)DependenciesVersions (8)Used By (0)

Sanitize Database
=================

[](#sanitize-database)

This script is used to sanitize user data after cloning the database into a non-production environment. Behind the scenes, it uses Drush's `sql-sanitize` function for Drupal sites, and a special query in WordPress (derived from this [blog post](https://web.archive.org/web/20200225053921/https://www.crackingdrupal.com/blog/greggles/creating-sanitized-drupal-database-dump#comment-164)).

### Installation

[](#installation)

This project is designed to be included from a site's `composer.json` file, and placed in its appropriate installation directory by [Composer Installers](https://github.com/composer/installers).

In order for this to work, you should have the following in your composer.json file:

```
{
  "require": {
    "composer/installers": "^1"
  },
  "extra": {
    "installer-paths": {
      "web/private/scripts/quicksilver": ["type:quicksilver-script"]
    }
  }
}
```

The project can be included by using the command:

`composer require pantheon-quicksilver/sanitize-db`

### Example `pantheon.yml`

[](#example-pantheonyml)

```
api_version: 1

workflows:
  clone_database:
    after:
      - type: webphp
        description: Sanitize database
        script: private/scripts/quicksilver/pantheon-quicksilver/sanitize-db.php
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~15 days

Recently: every ~23 days

Total

7

Last Release

1655d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1759794?v=4)[Kyle Taylor](/maintainers/kyletaylored)[@kyletaylored](https://github.com/kyletaylored)

---

Top Contributors

[![kyletaylored](https://avatars.githubusercontent.com/u/1759794?v=4)](https://github.com/kyletaylored "kyletaylored (5 commits)")

### Embed Badge

![Health badge](/badges/pantheon-quicksilver-sanitize-db/health.svg)

```
[![Health](https://phpackages.com/badges/pantheon-quicksilver-sanitize-db/health.svg)](https://phpackages.com/packages/pantheon-quicksilver-sanitize-db)
```

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[nette/forms

📝 Nette Forms: generating, validating and processing secure forms in PHP. Handy API, fully customizable, server &amp; client side validation and mature design.

54013.2M450](/packages/nette-forms)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
