PHPackages                             zaporylie/drupal-composer-sql-sync-policy - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. zaporylie/drupal-composer-sql-sync-policy

ActiveDrupal-drush[Utility &amp; Helpers](/categories/utility)

zaporylie/drupal-composer-sql-sync-policy
=========================================

Prevent syncing in wrong direction (i.e. from @dev to @prod).

0.1.0(9y ago)0146GPL-2.0+PHP

Since Feb 16Pushed 9y ago1 watchersCompare

[ Source](https://github.com/zaporylie/drupal-composer-sql-sync-policy)[ Packagist](https://packagist.org/packages/zaporylie/drupal-composer-sql-sync-policy)[ RSS](/packages/zaporylie-drupal-composer-sql-sync-policy/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

drupal-composer-sql-sync-policy
===============================

[](#drupal-composer-sql-sync-policy)

[![Packagist](https://camo.githubusercontent.com/ec48e781d6ebc0f57c5c676c1590288d76048fb2a96024f6ec37b16a7f4fef1e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a61706f72796c69652f64727570616c2d636f6d706f7365722d73716c2d73796e632d706f6c6963792e7376673f6d61784167653d33363030)](https://packagist.org/packages/zaporylie/drupal-composer-sql-sync-policy)

Add following to your drushrc.php:

```
$options['env-flow'] = array(
  '@prod' => array(),
  '@staging' => array('@prod'),
  '@dev' => array('@prod', '@staging'),
  '@local' => array('@prod', '@staging', '@dev'),
);
```

You can modify list of environments.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

3422d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1690685?v=4)[Jakub Piasecki](/maintainers/zaporylie)[@zaporylie](https://github.com/zaporylie)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/zaporylie-drupal-composer-sql-sync-policy/health.svg)

```
[![Health](https://phpackages.com/badges/zaporylie-drupal-composer-sql-sync-policy/health.svg)](https://phpackages.com/packages/zaporylie-drupal-composer-sql-sync-policy)
```

###  Alternatives

[rareloop/lumberjack-bedrock-installer

101.6k1](/packages/rareloop-lumberjack-bedrock-installer)

PHPackages © 2026

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