Download the PHP package itzmekhokan/sitecargo without Composer

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

SiteCargo

Selectively promote WordPress FSE structure and content between environments — without a full database migration.

Packagist Version Website

🔗 Website & docs: https://itzmekhokan.github.io/sitecargo/

WordPress full-site-editing structure (patterns, template parts, templates, global styles, navigation) lives in the database. Moving some of it from staging to production today means a full DB sync (destructive to orders/users/form entries) or manual copy-paste. SiteCargo packs exactly what you choose into a portable, git-trackable bundle and applies it elsewhere with stable identity, ID remapping, and media sideloading — never touching the data you didn't select.

Status: 0.1.1 — early release. Patterns, templates, template parts, global styles, and navigation, with a full export→import loop. Not yet production-hardened.

How it works

Two ideas make it safe and repeatable:

Installation

SiteCargo is a WP-CLI tool — WP-CLI is required to use it.

Via Composer (for Composer-managed sites such as Bedrock):

The wordpress-plugin package type installs it into wp-content/plugins/sitecargo. Then activate it:

From the WordPress.org Plugin Directory (once approved): search for "SiteCargo" under Plugins → Add New, or wp plugin install sitecargo --activate.

Manually: download a release, unzip it into wp-content/plugins/, and activate.

Usage

Supported entity types: patterns (wp_block), templates (wp_template), template parts (wp_template_part), global styles (wp_global_styles), and navigation (wp_navigation). Templates/parts must be customized in the database to be exported — unedited theme-file templates ship with the theme already.

Roadmap

Phase Scope Status
1 wp_block patterns — export, media collection, reference extraction ✅ done
2a Import side — diff (dry-run) + apply with ID remapping & media sideloading ✅ done
2b Templates, template parts, global styles (theme+slug identity) ✅ done
3a Navigation menus (wp_navigation) + wp:navigation ref remapping ✅ done
3b Selected posts/CPTs by slug (+ navigation-link ID remapping) planned
4 Admin UI (checkbox tree + visual diff) planned
5 Direct site→site push over REST (application passwords) planned

Development

Tests use the WordPress PHPUnit harness. Set WP_TESTS_DIR, or run from a workspace where wordpress-develop is a sibling directory (the bootstrap will find it automatically).

Contributing

Issues and pull requests are welcome:

Please run the test suite (composer test) and ensure it passes before opening a PR.

License

GPL-2.0-or-later. See LICENSE.


All versions of sitecargo with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
composer/installers Version ^1.0 || ^2.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 itzmekhokan/sitecargo contains the following files

Loading the files please wait ...