2017 © Pedro Peláez
 

composer-plugin wpmdb-pro-installer

An install helper for Wordpress Migrate DB Pro

image

cadecannon/wpmdb-pro-installer

An install helper for Wordpress Migrate DB Pro

  • Tuesday, March 28, 2017
  • by cadecannon
  • Repository
  • 1 Watchers
  • 1 Stars
  • 276 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 1 % Grown

The README.md

WPMDB PRO Installer

A composer plugin that makes installing WP Migrate DB Pro with composer easier., (*1)

This package borrows very heavily from acf-pro-installer from Philipp Baschke. Special thanks to Philipp for doing 99% of the work., (*2)

This package reads your :key: WPMDB PRO key and SITE DOMAIN from the environment or a .env file., (*3)

Usage

1. Add the package repository to the repositories field in composer.json (based on this gist):, (*4)

{
  "type": "package",
  "package": {
    "name": "deliciousbrains/wp-migrate-db-pro",
    "version": "*.*.*(.*)",
    "type": "wordpress-plugin",
    "dist": {
      "type": "zip",
      "url": "https://deliciousbrains.com/dl/wp-migrate-db-pro-latest.zip"
    },
    "require": {
      "cadecannon/wpmdb-pro-installer": "^1.0",
      "composer/installers": "^1.0"
    }
  }
}

Replace "version": "*.*.*(.*)" with your desired version., (*5)

2. Make your WPMDB PRO key available, (*6)

Set the environment variable WPMDB_PRO_KEY to your WPMDB PRO key., (*7)

Alternatively you can add an entry to your .env file:, (*8)

# .env (same directory as composer.json)
WPMDB_PRO_KEY=Your-Key-Here

3. Make your DOMAIN available, (*9)

Set the environment variable DOMAIN_CURRENT_SITE to your domain without the protocol (i.e. no http:// or https://). This is utilized by wordpress for multisite so you might already have this in your file., (*10)

Alternatively you can add an entry to your .env file:, (*11)

# .env (same directory as composer.json)
DOMAIN_CURRENT_SITE=test.dev

4. Require WPMDB PRO, (*12)

composer require deliciousbrains/wp-migrate-db-pro:*

You can specify an exact version (that matches your desired version)., (*13)

If you use *, composer will install the version from the package repository (see 1). This has the benefit that you only need to change the version in the package repository when you want to update., (*14)

Be aware that composer update will only work if you change the version in the package repository. Decreasing the version only works if you require an exact version., (*15)

The Versions

28/03 2017

dev-master

9999999-dev

An install helper for Wordpress Migrate DB Pro

  Sources   Download

MIT

The Requires

 

The Development Requires

by Cade Cannon

plugin wordpress wp composer env pro wp-migrate-db wpmdb

28/03 2017

0.9.3

0.9.3.0

An install helper for Wordpress Migrate DB Pro

  Sources   Download

MIT

The Requires

 

The Development Requires

by Cade Cannon

plugin wordpress wp composer env pro wp-migrate-db wpmdb

28/03 2017

0.9.2

0.9.2.0

An install helper for Wordpress Migrate DB Pro

  Sources   Download

MIT

The Requires

 

The Development Requires

by Cade Cannon

plugin wordpress wp composer env pro wp-migrate-db wpmdb

28/03 2017

0.9.1

0.9.1.0

An install helper for Wordpress Migrate DB Pro

  Sources   Download

MIT

The Requires

 

The Development Requires

by Cade Cannon

plugin wordpress wp composer env pro wp-migrate-db wpmdb

28/03 2017

0.9.0

0.9.0.0

An install helper for Wordpress Migrate DB Pro

  Sources   Download

MIT

The Requires

 

The Development Requires

by Cade Cannon

plugin wordpress wp composer env pro wp-migrate-db wpmdb