laramate/ddev-database-sync 问题修复 & 功能扩展

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

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

laramate/ddev-database-sync

最新稳定版本:0.1.4

Composer 安装命令:

composer require laramate/ddev-database-sync

包简介

Laramate DDEV Database Sync

README 文档

README

Laravel Logo

Laramate DDEV Database Sync

Copies production database data from a remote server to local workspace.

Setup

You need to add following variables to you local .env file:

REMOTE_USER=""
REMOTE_HOST=""
REMOTE_PATH_TO_PROJECT=""
REMOTE_DB_DATABASE=""

Use the following command to link the script to the right place:

ddev php -r "link('vendor/laramate/ddev-database-sync/src/db-to-local.sh', '.ddev/commands/host/db-to-local');"

Start your application with ddev start or ddev launch first. Then you can simply run this custom command. Only works with mysql database.

Usage

ddev db-to-local [OPTIONS]

Options

Parameter Description
--help, -h Prints help page.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: Shell

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-27