bolt/yaml-migrations

A library to facilitate migrations for YAML configuration files

Installs: 520

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/bolt/yaml-migrations

2.1.0 2025-10-07 13:39 UTC

This package is auto-updated.

Last update: 2025-10-07 14:02:15 UTC


README

A library to facilitate migrations for YAML configuration files

This repository was forked from bobdenotter/yaml-migrations and updated to be used with newer versions of bolt/core.

List available migrations

bin/yaml-migrate available

Run migrations

Standalone:

bin/yaml-migrate process -c config.yaml -v

The configuration file can be configured:

bin/yaml-migrate process -c config.yaml

Run a single file forcibly, convenient for testing:

bin/yaml-migrate process -v -f m_replace.yaml

Run it in the context of a Bolt installation:

vendor/bolt/yaml-migrations/bin/yaml-migrate process -c vendor/bolt/core/yaml-migrations/config.yaml -v

Tip: Reset the checkpoint and output:

echo '1.0.0' > sample/migrations/checkpoint.txt && rm -rf sample/target/*