PHPackages                             itinerisltd/gathercontent-sync-command - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. itinerisltd/gathercontent-sync-command

ActiveWp-cli-package[Utility &amp; Helpers](/categories/utility)

itinerisltd/gathercontent-sync-command
======================================

Sync WordPress and GatherContent.

0.1.0(7y ago)06MITPHPPHP ^7.2

Since Oct 12Pushed 7y ago10 watchersCompare

[ Source](https://github.com/ItinerisLtd/gathercontent-sync-command)[ Packagist](https://packagist.org/packages/itinerisltd/gathercontent-sync-command)[ Docs](https://github.com/ItinerisLtd/gathercontent-sync-command)[ RSS](/packages/itinerisltd-gathercontent-sync-command/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

itinerisltd/gathercontent-sync-command
======================================

[](#itinerisltdgathercontent-sync-command)

[![Packagist Version](https://camo.githubusercontent.com/b1ddebef507acd783ea6ecd4a6ad68712f58cf7c2e4b6f1730930ebcbe101b53/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6974696e657269736c74642f676174686572636f6e74656e742d73796e632d636f6d6d616e642e737667)](https://packagist.org/packages/itinerisltd/gathercontent-sync-command)[![PHP from Packagist](https://camo.githubusercontent.com/2fc1e9d98f63b35af7df03980e132ab0d2629ea3af6cbb61c0a22cadd89beeb1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6974696e657269736c74642f676174686572636f6e74656e742d73796e632d636f6d6d616e642e737667)](https://packagist.org/packages/itinerisltd/gathercontent-sync-command)[![Packagist Downloads](https://camo.githubusercontent.com/f938f6998e802b4fa980b62c9b9d270eef3d167216641f032d99243a11dc1b98/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6974696e657269736c74642f676174686572636f6e74656e742d73796e632d636f6d6d616e642e737667)](https://packagist.org/packages/itinerisltd/gathercontent-sync-command)[![GitHub License](https://camo.githubusercontent.com/d8073ae65e1408bb4578aee712dbddabf4be4c7b0fb5e96e3f7a50154308a38c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6974696e657269736c74642f676174686572636f6e74656e742d73796e632d636f6d6d616e642e737667)](https://github.com/ItinerisLtd/gathercontent-sync-command/blob/master/LICENSE)[![Hire Itineris](https://camo.githubusercontent.com/28070f6fe57ce0e650e45ceddf0f294c6ebb8e5248af50e801ed5d81026c076c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f486972652d4974696e657269732d6666363962342e737667)](https://www.itineris.co.uk/contact/)

- [Goal](#goal)
- [Minimum Requirements](#minimum-requirements)
- [Installation](#installation)
- [Usage](#usage)
    - [Pulling from GatherContent](#pulling-from-gathercontent)
- [Cron Jobs](#cron-jobs)
- [FAQ](#faq)
    - [Will you add support for older PHP versions?](#will-you-add-support-for-older-php-versions)
    - [It looks awesome. Where can I find some more goodies like this?](#it-looks-awesome-where-can-i-find-some-more-goodies-like-this)
    - [This package isn't on wp.org. Where can I give a ⭐️⭐️⭐️⭐️⭐️ review?](#this-package-isnt-on-wporg-where-can-i-give-a-%EF%B8%8F%EF%B8%8F%EF%B8%8F%EF%B8%8F%EF%B8%8F-review)
- [Feedback](#feedback)
- [Change Log](#change-log)
- [Security](#security)
- [Credits](#credits)
- [License](#license)

Goal
----

[](#goal)

Sync WordPress and GatherContent by WP CLI.

Minimum Requirements
--------------------

[](#minimum-requirements)

- PHP v7.2
- WordPress v4.9.8
- WP CLI v1.5
- [GatherContent Plugin](https://wordpress.org/plugins/gathercontent-import/) v3.1.9
- Already pulled some posts from GatherContent

Installation
------------

[](#installation)

```
# For WP CLI v2.0 or later:
$ wp package install itinerisltd/gathercontent-sync-command:@stable

# For WP CLI v1.5.x:
# Check for latest version!
$ wp package install itinerisltd/gathercontent-sync-command:^0.1.0
```

Usage
-----

[](#usage)

Before using the commands, you must first create `mappings` with the [GatherContent Plugin](https://wordpress.org/plugins/gathercontent-import/) via WP Dashboard, i.e: pull some content first.

### Pulling from GatherContent

[](#pulling-from-gathercontent)

```
# Find all imported posts and schedule pulling the newer versions from GatherContent
$ wp gather-content-sync pull
```

Requirements:

- some posts already imported
- a newer version exist on GatherContent
- [WP Ajax](https://codex.wordpress.org/AJAX_in_Plugins) is working

If all the requirements are met, the command schedules pulling events.

Cron Jobs
---------

[](#cron-jobs)

Use case: Pull content from GatherContent to WordPress every 5 minutes with system cron.

```
$ crontab -e

# Add a new cron task at the end
*/5 * * * * /usr/local/bin/wp gather-content-sync pull --yes --path=/www/my_site/public >/dev/null 2>&1

```

Tips:

- Specific full path to wp cli (e.g: `/usr/local/bin/wp`)
- Specific full path to WordPress web root (`--path=/www/my_site/public`)
- Skip confirmation by `--yes`

Learn more on [How to Write a Cron Job and Manage Server Crons at Kinsta](https://kinsta.com/knowledgebase/how-to-write-a-cron-job/).

FAQ
---

[](#faq)

### Will you add support for older PHP versions?

[](#will-you-add-support-for-older-php-versions)

Never! This plugin will only works on [actively supported PHP versions](https://secure.php.net/supported-versions.php).

Don't use it on **end of life** or **security fixes only** PHP versions.

### It looks awesome. Where can I find some more goodies like this?

[](#it-looks-awesome-where-can-i-find-some-more-goodies-like-this)

- Articles on [Itineris' blog](https://www.itineris.co.uk/blog/)
- More projects on [Itineris' GitHub profile](https://github.com/itinerisltd)
- Follow [@itineris\_ltd](https://twitter.com/itineris_ltd) and [@TangRufus](https://twitter.com/tangrufus) on Twitter
- Hire [Itineris](https://www.itineris.co.uk/services/) to build your next awesome site

### This package isn't on wp.org. Where can I give a ⭐️⭐️⭐️⭐️⭐️ review?

[](#this-package-isnt-on-wporg-where-can-i-give-a-️️️️️-review)

Thanks! Glad you like it. It's important to make my boss know somebody is using this project. Instead of giving reviews on wp.org, consider:

- tweet something good with mentioning [@itineris\_ltd](https://twitter.com/itineris_ltd)
- star this [Github repo](https://github.com/ItinerisLtd/gathercontent-sync-command)
- watch this [Github repo](https://github.com/ItinerisLtd/gathercontent-sync-command)
- write blog posts
- submit pull requests
- [hire Itineris](https://www.itineris.co.uk/services/)

Feedback
--------

[](#feedback)

**Please provide feedback!** We want to make this library useful in as many projects as possible. Please submit an [issue](https://github.com/ItinerisLtd/gathercontent-sync-command/issues/new) and point out what you do and don't like, or fork the project and make suggestions. **No issue is too small.**

Change Log
----------

[](#change-log)

Please see [CHANGELOG](./CHANGELOG.md) for more information on what has changed recently.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

[gathercontent-sync-command](https://github.com/ItinerisLtd/gathercontent-sync-command) is a [Itineris Limited](https://www.itineris.co.uk/) project created by [Tang Rufus](https://typist.tech).

Full list of contributors can be found [here](https://github.com/ItinerisLtd/gathercontent-sync-command/graphs/contributors).

License
-------

[](#license)

The MIT License (MIT). Please see [License File](./LICENSE) for more information.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2770d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c1b05c8ed4ea3f68173555264d0226d5faeb7f315ed9df91890c351ef576ce72?d=identicon)[TangRufus](/maintainers/TangRufus)

![](https://www.gravatar.com/avatar/1f6b0052977c5b438b9677de0189a69e4c2aa7c945eedd76fa3adac30dab067c?d=identicon)[codepuncher](/maintainers/codepuncher)

---

Top Contributors

[![tangrufus](https://avatars.githubusercontent.com/u/2259834?v=4)](https://github.com/tangrufus "tangrufus (6 commits)")

---

Tags

wordpresswpwp-cligathercontent

### Embed Badge

![Health badge](/badges/itinerisltd-gathercontent-sync-command/health.svg)

```
[![Health](https://phpackages.com/badges/itinerisltd-gathercontent-sync-command/health.svg)](https://phpackages.com/packages/itinerisltd-gathercontent-sync-command)
```

###  Alternatives

[roots/bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure

6.5k441.8k2](/packages/roots-bedrock)[ffraenz/private-composer-installer

A composer install helper for private packages

2331.7M5](/packages/ffraenz-private-composer-installer)[tareq1988/wordpress-settings-api-class

WordPress settings API Abstraction Class

46611.1k3](/packages/tareq1988-wordpress-settings-api-class)[php-stubs/wp-cli-stubs

WP-CLI function and class declaration stubs for static analysis.

302.3M79](/packages/php-stubs-wp-cli-stubs)[proteusthemes/wp-customizer-utilities

Advanced WordPress customizer controls and settings for better user experience.

329.4k1](/packages/proteusthemes-wp-customizer-utilities)[typisttech/wp-option-store

Extending WordPress Options API, read options from places other than database, the OOP way

1517.3k2](/packages/typisttech-wp-option-store)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
