Download the PHP package automattic/wpcom-migration without Composer

On this page you can find all versions of the php package automattic/wpcom-migration. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wpcom-migration

Migrate to WordPress.com

Source for the Migrate to WordPress.com plugin. This repository is the source of record. The tree that ships is built from it.

Layout

Build

Needs PHP 8.2+, Composer, rsync, zip.

The build writes build/wpcom-migration/ and build/wpcom-migration.zip. The plugin itself runs on PHP 7.4 or newer, the floor of the Jetpack packages it uses. To activate a source checkout without building, run composer install --no-dev --working-dir=plugin first.

How a migration works

WordPress.com copies sites with Reprint. This plugin implements Reprint's server module to spec, which is what WordPress.com exports the site through. It also adds REST API endpoints that set up the credential Reprint signs its requests with: a public key where the host has OpenSSL, a shared HMAC secret elsewhere. WordPress.com calls those endpoints with an application password or a Jetpack user token.

Where application passwords are unavailable, the administrator connects the site to WordPress.com from the Connection screen, or the plugin shares the connection of a site that already runs Jetpack. As a manual fallback, the administrator can paste the migration key WordPress.com shows into the Migration Key screen.

Deactivating the plugin disconnects it and discards the credentials.

The screens

On a network, each site has its own Reprint screens and sidebar row, shown to super admins only, since one site is migrated at a time. Network activation lands on the main site's screen. Migrating also takes the administrator role on the site: the export carries only the site's own users, so the person migrating has to be one of them. A super admin without it is told how to add themselves.

Releasing

Run Tag release from the Actions tab with minor, major or a custom version. It commits the new version and its changelog to trunk and tags the commit. Release then builds and tests the tag and publishes a GitHub release, and Deploy to WordPress.org commits that release to the plugin directory. Each step can be retried by dispatching it with the tag.

The changelog is made from the titles of the pull requests merged since the last release. AGENTS.md says how to write them.

Known limitations

Security

Need to report a security vulnerability? Go to https://automattic.com/security/ or directly to our security bug bounty site https://hackerone.com/automattic.


All versions of wpcom-migration with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package automattic/wpcom-migration contains the following files

Loading the files please wait ...