Download the PHP package pixelstudio/wp-sync-db without Composer

On this page you can find all versions of the php package pixelstudio/wp-sync-db. 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 wp-sync-db

WP Sync DB

Note: This is the combination of WP-Sync-DB and 2 of its Addons: Media Files and CLI.

Copy your database from one WP install to another with a few clicks in your dashboard.

Especially handy for syncing a local development database with a live site.

TABLE OF CONTENTS

  1. How to Use
  2. Sync Media Files
  3. WP-CLI Integration
  4. Help Videos
  5. How it Works
  6. Features Detail

How to Use

The guide below assume you're using it to sync online db with local one.

  1. Install this plugin on BOTH your online and local installation.

  2. In your online installation, go to Tools > Migrate DB > Settings tab. Tick all: "Accept pull", "Accept push", and "Enable SSL".

  3. Copy the Connection Info.

  4. In your local installation, go to Tools > Migrate DB > Migrate tab. Choose Pull or Push and paste in the Connection Info.

    PULL means downloading the online db and use it to overwrite your local db.
    PUSH is uploading your local db to overwrite online db.

  5. Configure the Search & Replace. Usually you also need to replace "https" to "http" or vice versa.

  6. Click "Migrate DB" and wait for it to finish.

Sync Media Files

Tick "Media Files" when pulling / pushing.

Currently doesn't seem to work for multisite.

WP-CLI Integration

  1. First you need to install WP-CLI. (Guide for Windows10 »)

  2. Create a migration profile in WP-Admin.

  3. Choose the migration profile you want to do and take note of the number. You will use it in the command:

    For example wp wpsdb migrate 2 will do the migration "Pull from example production".


Help Videos

Title Description Link
Feature Walkthrough A brief walkthrough of the WP Sync DB plugin showing all of the different options and explaining them. Youtube
Pulling Live Data Into Your Local Development Environment This screencast demonstrates how you can pull data from a remote, live WordPress install and update the data in your local development environment. Youtube
Pushing Local Development Data to a Staging Environment This screencast demonstrates how you can push a local WordPress database you've been using for development to a staging environment. Youtube
Media Files Addon Demo A short demo of how the Media Files addon allows you to sync up your WordPress Media Libraries. Youtube

How it works

WP Sync DB exports your database as a MySQL data dump (much like phpMyAdmin), does a find and replace on URLs and file paths, then allows you to save it to your computer, or send it directly to another WordPress instance. It is perfect for developers who develop locally and need to move their WordPress site to a staging or production server.

Features Detail


All versions of wp-sync-db with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.0
composer/installers Version ~1.0
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 pixelstudio/wp-sync-db contains the following files

Loading the files please wait ....