2017 © Pedro Peláez
 

composer-plugin wp-migrate-db-pro-installer

An install helper for WP Migrate DB PRO

image

harmonic/wp-migrate-db-pro-installer

An install helper for WP Migrate DB PRO

  • Thursday, June 21, 2018
  • by craigharman
  • Repository
  • 1 Watchers
  • 2 Stars
  • 126 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 16 Forks
  • 0 Open issues
  • 9 Versions
  • 35 % Grown

The README.md

WP Migrate DB PRO Installer

A composer plugin that makes installing WP Migrate DB Pro with composer easier, based on the amazing work by PhilippBaschke and his [acf-pro-installer] https://github.com/PhilippBaschke/acf-pro-installer, (*1)

It reads your :key: WP Migrate DB Pro key and site URL from the environment or a .env file so that you do not need to commit them to source control., (*2)

Usage

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

{
  "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": {
      "harmonic/wp-migrate-db-pro-installer": "^1.0",
      "composer/installers": "^1.0"
    }
  }
}

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

Replace "type": "wordpress-plugin" with "type": "library" if you would like to have WP MIGRATE DB PRO installed in the ./vendor directory instead of ./wp-content/plugins. This may be desireable if for example, you are including WP MIGRATE DB PRO in a WordPress theme., (*5)

If you also require the media files and cli plugins you can add these as well:, (*6)

{
  "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-media-files-latest.zip"
    },
    "require": {
      "harmonic/wp-migrate-db-pro-installer": "^1.0",
      "composer/installers": "^1.0"
    }
  }
},
{
  "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-cli-latest.zip"
    },
    "require": {
      "harmonic/wp-migrate-db-pro-installer": "^1.0",
      "composer/installers": "^1.0"
    }
  }
}

2. Make your WP MIGRATE DB PRO key available, (*7)

Set the environment variable WP_MIGRATE_DB_PRO_KEY to your WP Migrate DB Pro PRO key. Set the environment variable APP_URL to your website URL. Full URL is accepted so you can also use this variable in your wp-config.php., (*8)

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

# .env (same directory as composer.json)
WP_MIGRATE_DB_PRO_KEY=Your-Key-Here
APP_URL=http://site.com

3. Require WP Migrate DB Pro, (*10)

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

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

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., (*12)

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., (*13)

The Versions

21/06 2018

dev-master

9999999-dev

An install helper for WP Migrate DB PRO

  Sources   Download

MIT

The Requires

 

The Development Requires

by Craig Harman

plugin wordpress wp composer env pro migrate

17/01 2018

v1.0.5

1.0.5.0

An install helper for WP Migrate DB PRO

  Sources   Download

MIT

The Requires

 

The Development Requires

by Craig Harman

plugin wordpress wp composer env pro migrate

17/01 2018

v1.0.4

1.0.4.0

An install helper for WP Migrate DB PRO

  Sources   Download

MIT

The Requires

 

The Development Requires

by Craig Harman

plugin wordpress wp composer env pro migrate

17/01 2018

v1.0.3

1.0.3.0

An install helper for WP Migrate DB PRO

  Sources   Download

MIT

The Requires

 

The Development Requires

by Craig Harman

plugin wordpress wp composer env pro migrate

20/07 2016

v1.0.2

1.0.2.0

An install helper for Advanced Custom Fields PRO

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Baschke

plugin wordpress wp composer env acf pro

19/05 2016

v1.0.1

1.0.1.0

An install helper for Advanced Custom Fields PRO

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Baschke

plugin wordpress wp composer env acf pro

25/04 2016

v1.0.0

1.0.0.0

An install helper for Advanced Custom Fields PRO

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Baschke

plugin wordpress wp composer env acf pro

23/04 2016

v0.2.0

0.2.0.0

An install helper for Advanced Custom Fields PRO

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Baschke

plugin wordpress wp composer env acf pro

15/04 2016

v0.1.0

0.1.0.0

An install helper for Advanced Custom Fields PRO

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Baschke

plugin wordpress wp composer env acf pro