Download the PHP package soderlind/multisite-exporter without Composer

On this page you can find all versions of the php package soderlind/multisite-exporter. 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 multisite-exporter

Multisite Exporter

Multisite Exporter is a WordPress plugin that allows you to export content from all subsites in a WordPress multisite installation. The plugin generates WordPress XML (WXR) files by running the WordPress exporter on each subsite in the background using the Action Scheduler library, making it efficient even for large multisite networks.

Debugging

https://github.com/user-attachments/assets/172e2f69-3ea1-443d-b46f-fcdc82e11db4

Features

Requirements

Installation

Usage

Running an Export (UI Method)

  1. Log in to your WordPress Network Admin dashboard
  2. Navigate to MS Exporter → Multisite Exporter
  3. Configure your export settings:
    • Content: Choose to export all content, posts, pages, or media
    • Post Type: Optionally specify a custom post type
    • Date Range: Optionally filter by start and end date
  4. Click "Run Export for All Subsites"
  5. Exports will be processed in the background using Action Scheduler

Accessing Export Files (UI Method)

  1. Navigate to MS Exporter → Exports
  2. View a list of all completed exports from all subsites
  3. Download options:
    • Click the "Download" button next to an individual export
    • Select multiple exports using checkboxes and click "Download Selected" to get a zip file
    • Use "Select All" and "Download Selected" to download all exports at once in a zip file.

WP CLI Method

The plugin includes a WP CLI command to export content directly from the command line.

Basic Export (All Sites, All Content)

This will export all content from all sites in your multisite network.

Exporting Specific Content Types

Valid content types are: all, posts, pages, media

Exporting Specific Sites

This will export only the sites with the specified IDs.

Filtering by Date Range

Full Example

The command will display a progress bar during export. When completed:

How Action Scheduler Works

The Multisite Exporter plugin uses Action Scheduler, a robust background processing library for WordPress, to handle export operations efficiently across multiple sites. Here's how it works:

Overview

  1. Task Scheduling: When you click "Run Export for All Subsites," the plugin creates an individual task for each subsite in your network.

  2. Background Processing: These tasks are processed in the background using WordPress cron, without blocking user interactions or causing timeout issues.

  3. Failure Handling: If an export fails, Action Scheduler will automatically retry it based on its built-in retry logic, ensuring robust operation even in challenging environments.

Technical Details

Action Scheduler Location

The Action Scheduler library is included in this plugin via Composer and can be found at:

All Action Scheduler related files are loaded automatically when the plugin initializes.

Benefits for Multisite Exports

Export File Storage

All export files are stored in a centralized location within your WordPress uploads directory:

This makes it easy to find and manage exports from all your subsites in one place.

Customizing Export Directory

You can change the default export directory by using the multisite_exporter_directory filter:

Add this code to your theme's functions.php file or a custom plugin.

Translation

The plugin is fully translatable. A POT file is included in the languages directory to help with translations.

To create a translation:

  1. Copy the languages/multisite-exporter.pot file
  2. Rename it to multisite-exporter-{locale}.po (e.g., multisite-exporter-fr_FR.po)
  3. Translate using a tool like Poedit
  4. Save both .po and .mo files to the languages directory

Debugging

Error Logging

Multisite Exporter follows WordPress best practices for error logging. All error messages are conditionally logged based on the WP_DEBUG constant setting:

This ensures that:

WXR Validation

Multisite Exporter includes a WXR (WordPress eXtended RSS) validator that checks the integrity of export files:

The validator helps troubleshoot problematic exports and ensures your export files will be compatible with WordPress import tools.

Common Log Messages

When WP_DEBUG is enabled, you may see the following messages in your WordPress debug log:

Enabling Debug Mode

To enable debug logging for troubleshooting, add the following to your wp-config.php file:

This configuration will log all errors to the debug.log file without displaying them on screen.

Copyright and License

Multisite Exporter is copyright © 2025 Per Søderlind.

Multisite Exporter is open-source software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.

Multisite Exporter is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE for more information.


All versions of multisite-exporter with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
woocommerce/action-scheduler Version ^3.5
yahnis-elsts/plugin-update-checker Version ^5.5
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 soderlind/multisite-exporter contains the following files

Loading the files please wait ....