承接 codenamephp/deployer.mariadb 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

codenamephp/deployer.mariadb

最新稳定版本:2.0.0

Composer 安装命令:

composer require codenamephp/deployer.mariadb

包简介

README 文档

README

Packagist Version Packagist PHP Version Support Lines of code GitHub code size in bytes CI Packagist Downloads GitHub

What is it?

This package adds tasks to push, pull and copy mariadb databases along with various subtasks for dumping, importing etc.

Installation

Easiest way is via composer. Just run composer require codenamephp/deployer.mariadb in your cli which should install the latest version for you.

Usage

Use the included tasks in your deployer file. You need to add the database configuration to your hosts:

$deployerFunctions->localhost()
  ->set('database', [
    'user' => 'application',
    'password' => 'application',
    'name' => 'application',
    'host' => 'database',
  ]);

All supported options are documented in the \de\codenamephp\deployer\mariadb\database\factory\database\iDatabase::fromArray interface.

For the copy tasks you need to have ssh agent forwarding enabled since the hosts try to connect directly using a local key. This key must have access to both servers. This way, the copy can work without the servers knowing about each other.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2022-01-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固