Download the PHP package goldinteractive/craft-sitecopy without Composer

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

Site Copy X for Craft CMS 4/5

This plugin makes it easy to copy the content of an element from one site to another, with fine-grained control over what gets copied.

Supported elements


Features

Copy to another site

When editing an element, the sidebar shows a "Copy to site" toggle. Enable it, select one or more target sites, and save — the content is copied in the background via Craft's queue.

Attention: This will overwrite all content on the selected target sites.

Bulk copy from the element index

Select multiple entries, assets, categories, or Commerce products from the element index and use the "Copy to site" action to copy them all at once. A modal lets you choose the target sites before confirming.

Bulk copy is available for:

Per-field selection

When "Fields (Content)" is enabled in plugin settings, the sidebar widget shows a checkbox for each field in the element's field layout. Uncheck any field you don't want copied on that specific save. All fields are pre-selected by default.

Choose which attributes to copy

In the plugin settings you can configure which attributes are copied globally:

Attribute Description
Fields (Content) All custom field values
Title The element title
Slug The URL slug
Commerce Variants Variant custom fields and titles

Automatic copy rules

Configure rules in the plugin settings to automatically pre-select target sites when editing specific entries. Rules can match by entry ID, type, section, site, or other criteria, and support equals / does not equal operators with AND, OR, and XOR logic.

Global sets and assets

For global sets, the copy toggle appears at the bottom of the content area. Assets are supported through the element index bulk action and the standard sidebar widget.

Craft Commerce

Variant custom fields and titles are copied when the corresponding attributes are enabled in plugin settings.


How it works

The copy is handled by a queue job (SyncElementContent), so changes may not appear immediately on target sites. The job:

  1. Serializes the selected fields/attributes from the source element
  2. Remaps linked element IDs and Link field reference tags to the target site
  3. Saves each target site element with propagation disabled to prevent cascading back to the source site

Requirements

Craft CMS 4.5.11 or later (compatible with both Craft 4 and Craft 5).

Installation


All versions of craft-sitecopy with dependencies

PHP Build Version
Package Version
Requires craftcms/cms Version ^4.5.11|^5.0.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 goldinteractive/craft-sitecopy contains the following files

Loading the files please wait ...