celtic34fr / yaml-migrations
A library to facilitate migrations for YAML configuration files
2.1.0
2024-11-19 15:17 UTC
Requires
- bobdenotter/commando: ^1.0
- composer/semver: ^3.2
- symfony/finder: ^6.0
- symfony/var-dumper: ^6.0
- symfony/yaml: ^6.0
- webimpress/safe-writer: ^2.1
Requires (Dev)
- phpunit/phpunit: ^9.5
- symplify/easy-coding-standard: ^12.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