bobdenotter / yaml-migrations
A library to facilitate migrations for YAML configuration files
Installs: 136 117
Dependents: 1
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 3
Open Issues: 0
Requires
- bobdenotter/commando: ^0.4 || ^1.0
- composer/semver: ^3.2
- symfony/finder: ^5.1
- symfony/var-dumper: ^5.1
- symfony/yaml: ^5.1
- webimpress/safe-writer: ^2.1
Requires (Dev)
- phpunit/phpunit: ^8.5
- symplify/easy-coding-standard: ^8.3
README
A library to facilitate migrations for YAML configuration files
Run migrations
Standalone:
bin/yaml-migrate process -c config.yaml -v
Run a single file forcibly, convenient for testing:
bin/yaml-migrate process -c config.yaml -v -f m_replace.yaml
Run it in the context of a Bolt installation:
vendor/bobdenotter/yaml-migrations/bin/yaml-migrate process -c vendor/bolt/core/yaml-migrations/config.yaml -v
Tip: Reset the checkpoint:
echo '1.0.0' > sample/migrations/checkpoint.txt