justbetter/statamic-replicator-transfer
Statamic addon for transferring Replicator content. Move or copy repeatable sets without manual copy-pasting, preserving nested data and making structured content easier to reuse across entries in the control panel.
This is the initial 1.0.0 release of justbetter/statamic-replicator-transfer, a Statamic addon for moving Replicator field data between entries, sites, or environments. The release notes only contain the initial addon commit, so treat the README and source as the primary documentation until the package matures.
Minimal setup:
composer require justbetter/statamic-replicator-transfer:^1.0
php artisan vendor:publish --tag=statamic-replicator-transfer-config
php artisan cache:clear
php artisan stache:clear
Statamic addons are typically auto-discovered through composer.json extra metadata. Confirm the service provider is registered:
php artisan about
php artisan list | grep -i replicator
Where to look first:
README.md for supported commands, routes, or public APIs.src/Console or src/Commands.First use case: copy a Replicator field from one entry to another in a local environment. Start with a simple field containing text and basic sets, verify the resulting YAML/JSON structure in the target entry, then expand to nested sets, assets, and relationships.
Because this is a 1.0.0 initial release, pin the version in composer.json and avoid assuming long-term API stability until a 1.1/2.0 release establishes conventions.
One-off content transfers. Use the addon’s command or service to copy a Replicator field between entries. Keep source and target field handles aligned, or explicitly map handles if the package exposes a mapping option.
Content migration scripts. Wrap transfers in a Laravel command or seeder so they are repeatable:
use JustBetter\StatamicReplicatorTransfer\...;
public function handle()
{
DB::transaction(function () {
// transfer Replicator data from source entry to target entry
});
}
This is useful when promoting approved content from staging to production or rebuilding entries after a schema change.
Environment promotion workflow. Author complex Replicator content in staging, export or transfer it, then import into production as part of a deployment step. Run the transfer after Statamic’s Stache has warmed and after asset containers and related entries exist.
Multisite duplication. Use the addon to copy Replicator sets between localized versions of an entry. Verify how the package handles site-specific asset containers and localized relationship targets.
Job-based bulk transfers. For many entries, dispatch queued jobs rather than transferring everything synchronously. Chunk by collection or entry ID to avoid long-running requests and partial writes.
Integration tips:
1.0.0 release notes do not describe configuration, commands, or API. Inspect the source and README before relying on assumed behavior.^1.0 only if you are prepared for minor-version changes, or pin exactly during rollout.php artisan stache:clear and php artisan cache:clear, then verify in the control panel.-v, check storage/logs/laravel.log, and inspect the target entry’s source file before and after transfer.1.0.0. If the addon binds a service in its provider, prefer resolving that service over duplicating package logic. If behavior is missing, open an issue rather than forking early; the package is young and the API may still be forming.How can I help you explore Laravel packages today?