
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@masonite/wp-env-sync
Advanced tools
A node package to sync lower environments of a production WordPress install.
Sync the content of a production WordPress site with its lower environments.
wp_ tables)npm install -g @masonite/wp-env-sync
Execute sync job:
wp-env-sync --url=https://mysite.com/projects.json --prod=prd --project=wp_site_a
Perform a dry run for the sync job:
wp-env-sync --url=https://mysite.com/projects.json --prod=prd --project=wp_site_a --dry-run
[
{
"name": "WordPress Site A",
"slug": "wp_site_a",
"type": "wordpress",
"env": [
{
"name": "prd",
"url": "site-a.com",
"ssh": "siteaprd@siteaprd.ssh.wpengine.net",
"public_path": "/home/wpe-user/sites/siteaprd",
"private_path": "/home/wpe-user/sites/siteaprd/_wpeprivate"
},
{
"name": "tst",
"url": "staging.site-a.com",
"ssh": "siteatst@siteatst.ssh.wpengine.net",
"public_path": "/home/wpe-user/sites/siteatst",
"private_path": "/home/wpe-user/sites/siteatst/_wpeprivate",
"search_replace": [
[
"my_production_api_key",
"my_staging_api_key"
],
[
"my_production_api_secret",
"my_staging_api_secret"
]
]
},
{
"name": "dev",
"url": "siteadev.wpengine.com",
"ssh": "siteadev@siteadev.ssh.wpengine.net",
"public_path": "/home/wpe-user/sites/siteadev",
"private_path": "/home/wpe-user/sites/siteadev/_wpeprivate",
"search_replace": [
[
"my_production_api_key",
"my_development_api_key"
],
[
"my_production_api_secret",
"my_development_api_secret"
]
]
}
]
},
{
"name": "WordPress Site B",
"slug": "wp_site_b",
"type": "wordpress-multisite",
"env": [
{
"name": "prd",
"url": "site-b.com",
"ssh": "sitebprd@sitebprd.ssh.wpengine.net",
"public_path": "/home/wpe-user/sites/sitebprd",
"private_path": "/home/wpe-user/sites/sitebprd/_wpeprivate"
},
{
"name": "tst",
"url": "staging.site-b.com",
"ssh": "sitebtst@sitebtst.ssh.wpengine.net",
"public_path": "/home/wpe-user/sites/sitebtst",
"private_path": "/home/wpe-user/sites/sitebtst/_wpeprivate",
"options": [
[
"blogdescription",
"This value was programmatically updated only on staging.site-b.com"
],
[
"test_option",
"This value was programmatically updated on specific sites",
[
"hello.staging.site-b.com",
"world.staging.site-b.com"
]
]
],
"site_options": [
[
"site_name",
"TST Sites"
]
]
},
{
"name": "dev",
"url": "sitebdev.wpengine.com",
"ssh": "sitebdev@sitebdev.ssh.wpengine.net",
"public_path": "/home/wpe-user/sites/sitebdev",
"private_path": "/home/wpe-user/sites/sitebdev/_wpeprivate"
}
]
}
]
MIT © Masonite
FAQs
A node package to sync lower environments of a production WordPress install.
We found that @masonite/wp-env-sync demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers