bolt/yaml-migrations 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

bolt/yaml-migrations

最新稳定版本:2.2.0

Composer 安装命令:

composer require bolt/yaml-migrations

包简介

A library to facilitate migrations for YAML configuration files

README 文档

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/*

统计信息

  • 总下载量: 8.84k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-07-16